Loads font bytes.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public byte[] Load(
string familyName,
bool bold,
bool italic
)
VB
Public Function Load (
familyName As String,
bold As Boolean,
italic As Boolean
) As Byte()
Parameters
- familyName
- Type: System.String
Family name of the font. - bold
- Type: System.Boolean
Set to true for the bold font weight. - italic
- Type: System.Boolean
Set to true for the italic font style.
Return Value
Type:
Byte[]
The bytes of an eligible font or
null if an eligible font was not found.
Implements
IFontLoader.Load(String, Boolean, Boolean)See Also