Method Load
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Load(string, bool, bool)
Loads font bytes by checking font files in the well-known system font folders.
public byte[]? Load(string familyName, bool bold, bool italic)
Parameters
familyName
stringFamily name of the font to load by checking font files in the well-known system font folders.
bold
boolSet to
true
for the bold font weight.italic
boolSet to
true
for the italic font style.
Returns
- byte[]
The bytes of an eligible font loaded by checking font files in the well-known system font folders or
null
if an eligible font was not found.