Font Class | ceTe.DynamicPDF.Text Namespace | Fonts And Text | Programming with Generator for .NET

Language

Visual Basic

C#

Show All

Seven of the fonts included with Adobe's Asian Font Pack can be used in a PDF document and do not need to be embedded into a PDF document when it is created. The only requirement is that the system where the PDF is being viewed should have the Asian Font Pack installed. The 7 CJK PDF fonts are accessed through static properties on the Font class:

A CJK font can be used as follows:

[Visual Basic]
' Use a core font in a text area Page Element.
MyPage.Elements.Add( New TextArea( "CJK Text", 0, 0, 200, 12, Font.HeiseiKakuGothicW5, 16 ) )
[C#]
// Use a core font in a text area Page Element.
page.Elements.Add( new TextArea( "CJK Text", 0, 0, 200, 12, Font.HeiseiKakuGothicW5, 16 ) );

See Also 

Font Class | ceTe.DynamicPDF.Text Namespace | Fonts And Text | Programming with Generator for .NET