 |
PdfFontCreateCJKFont Method |
Creates a PdfFont from a standard Korean / Japanese / Chinese (CJK) font family.
Like
CreateStandardFont(PdfStandardFont, Single), these fonts are
referenced by name (not embedded) — they ship with PDF/A-compliant readers, so the
output is expected to render on any conforming viewer.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic static PdfFont CreateCJKFont(
PdfStandardCJKFont cjkFontFamily,
float size
)
Public Shared Function CreateCJKFont (
cjkFontFamily As PdfStandardCJKFont,
size As Single
) As PdfFont
Parameters
- cjkFontFamily PdfStandardCJKFont
- The standard CJK font family.
- size Single
- The font size in points.
Return Value
PdfFontA new
PdfFont instance for the specified CJK font.
ExamplePdfFont cjk =
PdfFont.CreateCJKFont(PdfStandardCJKFont.HeiseiKakuGothicW5, 16f);Dim cjk As PdfFont =
PdfFont.CreateCJKFont(PdfStandardCJKFont.HeiseiKakuGothicW5, 16.0F)
See Also