 | PdfFontCreateStock(PdfDocument, FontStockNames) Method |
Creates a standard type 1 font with the specified typeface name and Windows ANSI encoding.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static PdfFont CreateStock(
PdfDocument doc,
FontStockNames fontName
)
Public Shared Function CreateStock (
doc As PdfDocument,
fontName As FontStockNames
) As PdfFont
public:
static PdfFont^ CreateStock(
PdfDocument^ doc,
FontStockNames fontName
)
static member CreateStock :
doc : PdfDocument *
fontName : FontStockNames -> PdfFont public static PdfFont CreateStock(
PdfDocument doc,
FontStockNames fontName
)
Patagames.Pdf.Net.PdfFont.CreateStock = function(doc, fontName);
Parameters
- doc PdfDocument
- Document object.
- fontName FontStockNames
- A value that specifies the typeface name of the font.
Return Value
PdfFontAn instance of
PdfFont class.
Remarks
See Also