Click or drag to resize

ShapedText Class

A sequence of positioned glyphs -- the visual representation of a given text string
Inheritance Hierarchy
SystemObject
  pdftron.PDFShapedText

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class ShapedText : IClosable

The ShapedText type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFailureReason
In the case where GetShapingStatus() returns something other than FullShaping, this method will return a more detailed reason behind the failure.
Public methodGetGlyph
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.
Public methodGetGlyphXPos
The X position of the glyph at the requested index. This number has been scaled by GetScale().
Public methodGetGlyphYPos
The Y position of the glyph at the requested index. This number has been scaled by GetScale().
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNumGlyphs
Number of glyphs present in the shaped text. Might be different from the .
Public methodGetScale
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.
Public methodGetShapingStatus
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.
Public methodGetText
The original source text string.
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.)
Top
See Also