Class PdfCjkFontFamily
Specifies the type of CJK font.
Inheritance
System.Object
PdfCjkFontFamily
Namespace: Syncfusion.Pdf.Graphics
Assembly: Syncfusion.Pdf.Portable.dll
Syntax
public sealed class PdfCjkFontFamily : Enum
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Add a page to the document.
PdfPage page = document.Pages.Add();
//Create PDF graphics for the page.
PdfGraphics graphics = page.Graphics;
//Set the standard font.
PdfFont font = new PdfCjkStandardFont(PdfCjkFontFamily.HeiseiMinchoW3, 20);
//Draw the text.
graphics.DrawString("ã“ã‚“ã«ã¡ã¯ä¸–界", font, PdfBrushes.Black, new PointF(0, 0));
//Save the document.
document.Save("Output.pdf");
//Close the document.
document.Close(true);
'Create a new PDF document.
Dim document As New PdfDocument()
'Add a page to the document.
Dim page As PdfPage = document.Pages.Add()
'Create PDF graphics for the page.
Dim graphics As PdfGraphics = page.Graphics
'Set the standard font.
Dim font As PdfFont = New PdfCjkStandardFont(PdfCjkFontFamily.HeiseiMinchoW3, 20)
'Draw the text.
graphics.DrawString("ã“ã‚“ã«ã¡ã¯ä¸–界", font, PdfBrushes.Black, New PointF(0, 0))
'Save the document.
document.Save("Output.pdf")
'Close the document.
document.Close(True)
Fields
HanyangSystemsGothicMedium
Represents the Hanyang Systems Gothic Medium font.
Declaration
public const PdfCjkFontFamily HanyangSystemsGothicMedium
Field Value
| Type |
|---|
| PdfCjkFontFamily |
HanyangSystemsShinMyeongJoMedium
Represents the Hanyang Systems shin myeong Jo Medium font.
Declaration
public const PdfCjkFontFamily HanyangSystemsShinMyeongJoMedium
Field Value
| Type |
|---|
| PdfCjkFontFamily |
HeiseiKakuGothicW5
Represents the Heisei kaku GothicW5 font.
Declaration
public const PdfCjkFontFamily HeiseiKakuGothicW5
Field Value
| Type |
|---|
| PdfCjkFontFamily |
HeiseiMinchoW3
Represents the Heisei MinchoW3 font.
Declaration
public const PdfCjkFontFamily HeiseiMinchoW3
Field Value
| Type |
|---|
| PdfCjkFontFamily |
MonotypeHeiMedium
Represents the Monotype Hei Medium font.
Declaration
public const PdfCjkFontFamily MonotypeHeiMedium
Field Value
| Type |
|---|
| PdfCjkFontFamily |
MonotypeSungLight
Represents the monotype sung Light font.
Declaration
public const PdfCjkFontFamily MonotypeSungLight
Field Value
| Type |
|---|
| PdfCjkFontFamily |
SinoTypeSongLight
Represents the sinotype song light font.
Declaration
public const PdfCjkFontFamily SinoTypeSongLight
Field Value
| Type |
|---|
| PdfCjkFontFamily |