TextSegment Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class representes a text segment, part of the TextContentElement instance.
Inheritance Hierarchy


Namespace:  Apitron.PDF.Kit.FixedLayout.ContentElements
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: (

public sealed class TextSegment : IEnumerable<GlyphDescription>, 

The TextSegment type exposes the following members.


Public propertyBaseLine
Gets the segments's base line location.
Public propertyBoundary
Gets the boundary.
Public propertyFontFamily
Gets the segment's font family.
Public propertyFontName
Gets the segment's font name.
Public propertyFontResourceID
Gets the font id.
Public propertyFontSize
Gets the segment's font size.
Public propertyGlyphs
Gets the glyphs descriptions.
Public propertyIsBold
Gets the value indicating if the segment's font is bold.
Public propertyIsItalic
Gets the value indicating if the segment's font is italic.
Public propertyScale
Gets the segment's font size scale.
Public propertyStretch
Gets the segment's font stretch.
Public propertyText
Get the text.
Public propertyWeight
Gets the segment's font weight.

Public methodAddText
Adds segments of the TextObject before of after this instance.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodInsertText
Insert the text into the text segment.
Public methodRemove
Remove the segment from text object.
Public methodReplaceText
Replaces the part of the text segment by the specified text object.
Public methodSetTextMatrix
Sets the current text matrix.
See Also