Skip to main content
All docs
V26.1
  • TextFragment Members

    A text fragment on a PDF page.

    Constructors

    Name Description
    TextFragment() Initializes a new instance of the TextFragment class.

    Properties

    Name Description
    CharacterSpacing Gets or sets the spacing between characters.
    Clip Gets or sets the clipping region of a form fragment. Inherited from VisualFragment.
    Font Gets or sets the text font.
    FontSize
    ForegroundFill
    HorizontalScaling Gets or sets the horizontal scaling percentage.
    LineWidth Gets or sets the line width of a text fragment.
    Location Gets or sets the location of a form fragment. Inherited from VisualFragment.
    RotationAngle Gets or sets the rotation angle of a form fragment. Inherited from VisualFragment.
    ScaleX Gets or sets the horizontal scaling factor of a text fragment. Inherited from VisualFragment.
    ScaleY Gets or sets the vertical scaling factor of the form fragment. Inherited from VisualFragment.
    SkewX Gets or sets the horizontal skew angle of the form fragment. Inherited from VisualFragment.
    SkewY Gets or sets the vertical skew angle of the form fragment. Inherited from VisualFragment.
    Strikeout Gets or sets whether the text is struck out.
    StrikeoutFill
    Text Specifies the text fragment content.
    TextLeading Gets or sets the text leading of a text fragment.
    TextRenderingMode Gets or sets the text rendering mode.
    TextRise Gets or sets the text rise of a text fragment.
    Underline Gets or sets whether the text is underlined.
    UnderlineFill

    Methods

    Name Description
    Clone() Creates a copy of the PageFragment object. Inherited from PageFragment.
    Clone(DocumentCloneContext) Creates a copy of the PageFragment object using the specified context. Inherited from PageFragment.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    Measure()
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    Split(PdfDocument, Int32[])
    Split(TextMatchGroup, out TextFragment[], out TextFragment[])
    Split(TextMatchGroup)
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also