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

SystemObject
  Apitron.PDF.Kit.FixedLayout.ContentElementsTextSegment

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

public sealed class TextSegment : IEnumerable<GlyphDescription>, 
	IEnumerable

The TextSegment type exposes the following members.

Properties

  NameDescription
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.
Top
Methods

  NameDescription
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.
Top
See Also

Reference