Base class from which single byte encoders are derived.
For a list of all members of this type, see SingleByteEncoder members.
System.Object
ceTe.DynamicPDF.Text.Encoder
ceTe.DynamicPDF.Text.SingleByteEncoder
[Visual Basic]
Public MustInherit Class SingleByteEncoder
Inherits Encoder[C#]
public abstract class SingleByteEncoder : EncoderSee 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)
SingleByteEncoder Members | ceTe.DynamicPDF.Text Namespace
© Copyright 2007, ceTe Software