Class GdiUnicodeRanges
Custom collection that maintains a list of Unicode ranges a font supports and the glyph indices of each character. The list of ranges is obtained by invoking GetFontUnicodeRanges, however the associated glyph indices are lazily instantiated as required to save memory.
Inheritance
Inherited Members
Namespace: Telerik.Pdf.Gdi
Assembly: TelerikData.dll
Syntax
public class GdiUnicodeRanges
Constructors
GdiUnicodeRanges(GdiDeviceContent)
Class constuctor.
Declaration
public GdiUnicodeRanges(GdiDeviceContent dc)
Parameters
GdiDeviceContent
dc
|
Properties
Count
Gets the number of unicode ranges.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Methods
MapCharacter(Char)
Translates the supplied character to a glyph index.
Declaration
public int MapCharacter(char c)
Parameters
System.Char
c
Any unicode character. |
Returns
System.Int32
A glyph index for c or 0 the supplied character does not exist in the font selected into the device context. |