PdfDocumentCreateFont(Font, Boolean) Method
Creates a PDF font from the given .NET font and optionally embeds the font in the generated PDF document based on embed parameter value
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfFont CreateFont(
Font font,
bool embed
)
- font Font
- The .NET font from which to create the PDF font
- embed Boolean
- Controls if the font is embedded in the generated PDF document
PdfFontThe PDF font corresponding to the .NET font