Finds a font in the current collection with the specified values of
DocumentFont.FontFamilyName,
DocumentFont.Bold and
DocumentFont.Italic properties.
'Declaration
Public Function FindByFamilyName( _
ByVal As System.String, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
) As DocumentFont
public DocumentFont FindByFamilyName(
System.string ,
System.bool ,
System.bool
)
Parameters
- fontFamilyName
- The DocumentFont.FontFamilyName to search for.
- bold
- The DocumentFont.Bold value to search for.
- italic
- The DocumentFont.Italic value to search for.
Return Value
The font with the specified properties, or null.