PdfDocumentCreateFontFromName Method
Creates a PDF font based on a font family name with given size and embedding option
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfFont CreateFontFromName(
string familyName,
float fontSize,
bool embedFont
)
Public Function CreateFontFromName (
familyName As String,
fontSize As Single,
embedFont As Boolean
) As PdfFont
public:
PdfFont^ CreateFontFromName(
String^ familyName,
float fontSize,
bool embedFont
)
member CreateFontFromName :
familyName : string *
fontSize : float32 *
embedFont : bool -> PdfFont
- familyName String
- Font family name
- fontSize Single
- Font size in points
- embedFont Boolean
- Embed font in PDF
PdfFontThe PDF font