Method Load
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Load(string, bool, bool)
Loads font bytes.
[Obsolete("This method will be removed in the next release of the library. Use the TryLoad method instead.")]
byte[]? Load(string familyName, bool bold, bool italic)
Parameters
familyNamestringFamily name of the font
boldboolSet to
truefor the bold font weightitalicboolSet to
truefor the italic font style
Returns
- byte[]
The bytes of an eligible font or
nullif an eligible font was not found.