 |
PdfStandardCJKFont Enumeration |
The Korean / Japanese / Chinese (CJK) predefined fonts. Shipped with the PDF/A family
of readers, so they don't need to be embedded into the document — yet still render
full CJK text correctly.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic enum PdfStandardCJKFont
Public Enumeration PdfStandardCJKFont
Members| Member name | Value | Description |
|---|
| HeiseiKakuGothicW5 | 0 | Heisei Kaku Gothic W5 — Japanese gothic (sans-serif) font. |
| HeiseiMinchoW3 | 1 | Heisei Mincho W3 — Japanese mincho (serif) font. |
| HanyangSystemsGothicMedium | 2 | Hanyang Systems Gothic Medium — Korean gothic (sans-serif) font. |
| HanyangSystemsShinMyeongJoMedium | 3 | Hanyang Systems Shin MyeongJo Medium — Korean serif font. |
| MonotypeHeiMedium | 4 | Monotype Hei Medium — Traditional Chinese gothic font. |
| MonotypeSungLight | 5 | Monotype Sung Light — Traditional Chinese serif font. |
| SinoTypeSongLight | 6 | SinoType Song Light — Simplified Chinese serif font. |
ExamplePdfFont font =
PdfFont.CreateCJKFont(PdfStandardCJKFont.HeiseiKakuGothicW5, 16f);
page.Add(new PdfTextElement(20, 20, "こんにちは世界", font, new PdfColor(0, 0, 0)));Dim font As PdfFont =
PdfFont.CreateCJKFont(PdfStandardCJKFont.HeiseiKakuGothicW5, 16F)
page.Add(New PdfTextElement(20, 20, "こんにちは世界", font, New PdfColor(0, 0, 0)))
See Also