Click or drag to resize

PdfFontCreateStock(PdfDocument, FontStockNames) Method

Creates a standard type 1 font with the specified typeface name and Windows ANSI encoding.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public static PdfFont CreateStock(
	PdfDocument doc,
	FontStockNames fontName
)

Parameters

doc  PdfDocument
Document object.
fontName  FontStockNames
A value that specifies the typeface name of the font.

Return Value

PdfFont
An instance of PdfFont class.
Remarks
See detailed information about standard fonts in FontStockNames
See Also