Click or drag to resize
Pdf Library for .NET

PdfDocumentAddFont Method (PdfStandardCJKFont)

Adds a standard CJK font to the pdf fonts collection.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax
public PdfFont AddFont(
	PdfStandardCJKFont stdCJKFont
)

Parameters

stdCJKFont
Type: SelectPdfPdfStandardCJKFont
The standard CJK font to add to the pdf document fonts collection.

Return Value

Type: PdfFont
The pdf font added to the fonts collection.
Remarks
If the font was already added, the method returns the existing pdf font.
See Also