C# Класс iTextSharp.text.pdf.CJKFont

Наследование: BaseFont
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CJKFont System
ConvertToBytes byte[]
ConvertToHCIDMetrics string
ConvertToVCIDMetrics string
CreateMetric IntHashtable
GetBBox float
GetCIDFont PdfDictionary
GetDescNumber float
GetFontBaseType PdfDictionary
GetFontDescriptor PdfDictionary
GetRawWidth int
LoadCMaps void
LoadProperties void
LoadRegistry void
ReadFontProperties Object>.Dictionary
WriteFont void

Открытые методы

Метод Описание
CharExists ( int c ) : bool
ConvertToBytes ( String text ) : byte[]
GetCharBBox ( int c ) : int[]
GetCidCode ( int c ) : int
GetCompatibleFont ( String enc ) : String
GetFontDescriptor ( int key, float fontSize ) : float
GetFullFontStream ( ) : PdfStream
GetKerning ( int char1, int char2 ) : int
GetUnicodeEquivalent ( int c ) : int
GetWidth ( int char1 ) : int
GetWidth ( string text ) : int
HasKernPairs ( ) : bool
IsCJKFont ( string fontName, string enc ) : bool
IsIdentity ( ) : bool
SetCharAdvance ( int c, int advance ) : bool
SetKerning ( int char1, int char2, int kern ) : bool

Защищенные методы

Метод Описание
GetRawCharBBox ( int c, String name ) : int[]

Приватные методы

Метод Описание
CJKFont ( string fontName, string enc, bool emb ) : System
ConvertToBytes ( int char1 ) : byte[]
ConvertToHCIDMetrics ( int keys, IntHashtable h ) : string
ConvertToVCIDMetrics ( int keys, IntHashtable v, IntHashtable h ) : string
CreateMetric ( string s ) : IntHashtable
GetBBox ( int idx ) : float
GetCIDFont ( PdfIndirectReference fontDescriptor, IntHashtable cjkTag ) : PdfDictionary
GetDescNumber ( string name ) : float
GetFontBaseType ( PdfIndirectReference CIDFont ) : PdfDictionary
GetFontDescriptor ( ) : PdfDictionary
GetRawWidth ( int c, string name ) : int
LoadCMaps ( ) : void
LoadProperties ( ) : void
LoadRegistry ( ) : void
ReadFontProperties ( String name ) : Object>.Dictionary
WriteFont ( PdfWriter writer, PdfIndirectReference piref, Object parms ) : void

Описание методов

CharExists() публичный метод

public CharExists ( int c ) : bool
c int
Результат bool

ConvertToBytes() публичный метод

public ConvertToBytes ( String text ) : byte[]
text String
Результат byte[]

GetCharBBox() публичный метод

public GetCharBBox ( int c ) : int[]
c int
Результат int[]

GetCidCode() публичный метод

public GetCidCode ( int c ) : int
c int
Результат int

GetCompatibleFont() публичный статический метод

public static GetCompatibleFont ( String enc ) : String
enc String
Результат String

GetFontDescriptor() публичный метод

public GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
Результат float

GetFullFontStream() публичный метод

public GetFullFontStream ( ) : PdfStream
Результат PdfStream

GetKerning() публичный метод

public GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
Результат int

GetRawCharBBox() защищенный метод

protected GetRawCharBBox ( int c, String name ) : int[]
c int
name String
Результат int[]

GetUnicodeEquivalent() публичный метод

public GetUnicodeEquivalent ( int c ) : int
c int
Результат int

GetWidth() публичный метод

public GetWidth ( int char1 ) : int
char1 int
Результат int

GetWidth() публичный метод

public GetWidth ( string text ) : int
text string
Результат int

HasKernPairs() публичный метод

public HasKernPairs ( ) : bool
Результат bool

IsCJKFont() публичный статический метод

public static IsCJKFont ( string fontName, string enc ) : bool
fontName string
enc string
Результат bool

IsIdentity() публичный метод

public IsIdentity ( ) : bool
Результат bool

SetCharAdvance() публичный метод

public SetCharAdvance ( int c, int advance ) : bool
c int
advance int
Результат bool

SetKerning() публичный метод

public SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
Результат bool