Finds a font in the current collection with the specified values of
FontName,
DocumentFont.Bold and
DocumentFont.Italic properties.
'Declaration
Public Function FindByName( _
ByVal As System.String, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
) As DocumentFont
public DocumentFont FindByName(
System.string ,
System.bool ,
System.bool
)
Parameters
- fontName
- The FontName 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.