Base class from which encoders are derived.
For a list of all members of this type, see Encoder members.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ceTe.DynamicPDF.Text.Encoder
ceTe.DynamicPDF.Text.SingleByteEncoder
[Visual Basic]
Public MustInherit Class Encoder [C#]
public abstract class Encoder This class contains the static properties from which all encodings are accessed. See the Text Encodings topic for more details on this.
This example shows how to Change the encoding of a built in font.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.Text
Imports ceTe.DynamicPDF.PageElements
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create a core font with a specified encoding
Dim MyCentralEuropeHelveticaFont As Font = New Helvetica(Encoder.CentralEurope)
' Use the font in a text area Page Element
MyPage.Elements.Add(New TextArea("Text using the Central Europe encoder", 0, 0, 200, 12, MyCentralEuropeHelveticaFont, 12))
' Save the PDF document
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Community Edition feature.
Namespace: ceTe.DynamicPDF.Text
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
Encoder Members | ceTe.DynamicPDF.Text Namespace
© Copyright 2006, ceTe Software