ShapedText Class |
Namespace: pdftron.PDF
public sealed class ShapedText : IClosable
The ShapedText type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetFailureReason |
In the case where GetShapingStatus() returns something other than FullShaping, this method will return a more detailed reason behind the failure.
| |
GetGlyph |
Get the glyph ID at the indicated place in the shaped sequence. This number is specific to the font file used to generate the shaping results, and does not always have a clean mapping to a particular Unicode codepoint in the original string.
| |
GetGlyphXPos |
The X position of the glyph at the requested index. This number has been scaled by GetScale().
| |
GetGlyphYPos |
The Y position of the glyph at the requested index. This number has been scaled by GetScale().
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNumGlyphs |
Number of glyphs present in the shaped text. Might be different from the .
| |
GetScale |
Scaling factor of this shaped text relative to the em size. A scaling factor of 1 means that all units are relative to the em size. PDF scaling is typically 1000 units per em.
| |
GetShapingStatus |
Get the state of the shaping operation. Even if the shaping did not fully succeed, this object can be added to an elementbuilder, and will fallback to placing unshped text. See GetFailureReason() in the case this method returns something other than FullShaping.
| |
GetText |
The original source text string.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |