Click or drag to resize

CharData Class

CharData is a data structure returned by CharIterator that is used to provide extra information about a Character within a text run. The extra information includes positioning information, the Character data and a number of bytes taken by the Character.
Inheritance Hierarchy

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version:
public sealed class CharData : IClosable

The CharData type exposes the following members.

Public propertybytes
Gets the Char data.
Public propertychar_code
Gets the Char code.
Public propertyx
To render text, a virtual point (x, y), located on the baseline, called the pen position, is used to locate glyphs. The pen position has already taken into account the effects of any inter-Character adjustments due to properties such as font size, text rise, Character spacing, word spacing and positioning adjustments on 'TJ' elements.
Public propertyy
Gets the glyph y.
Public methodClose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also