Click or drag to resize

PdfTextObject Class

Represents a text object.
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetPdfPageObject
    Patagames.Pdf.NetPdfTextObject

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public class PdfTextObject : PdfPageObject

The PdfTextObject type exposes the following members.

Properties
 NameDescription
Public propertyCharsCount Gets the number of characters from a text object.
Public propertyCharSpacing Gets or sets the character spacing, which is a number expressed in unscaled text space units.
Public propertyFont Gets or sets the Font of a text object.
Public propertyFontSize Gets or sets font size.
Public propertyLocation Gets or sets the coordinates of the bottom-left corner of the text object relative to the down-left corner of its page.
Public propertyRenderMode Gets or sets the text rendering mode.
Public propertyTextAnsi Gets/sets ANSI string from/to text object
Public propertyTextAsciiObsolete.
Gets/sets ANSI string from/to text object
Public propertyTextKnockout Gets or sets the text knockout flag, which determines the behavior of overlapping glyphs within a text object in the transparent imaging model.
Public propertyTextMatrixObsolete.
This property is obsolete. Please use Matrix property instead.
Public propertyTextUnicode Gets or sets unicode string from text object
Public propertyWordSpacing Gets or sets the word spacing, which is a number expressed in unscaled text space units.
Top
Methods
 NameDescription
Public methodCalcCharPos Get the offsets to start and end of each character in text object
Public methodStatic memberCreateObsolete.
Create new instance of PdfTextObject class
Public methodStatic memberCreate(String, Single, Single, PdfFont, Single) Create new instance of PdfTextObject class
Public methodGetCharInfo(Int32, Int32, Single) Gets the unicode of a special character in a text object and kerning.
Public methodGetCharInfo(Int32, Int32, Single, Single) Gets the unicode of a special character in a text object and its placement.
Public methodGetCharRect(Int32) Gets character bounding box
Public methodGetCharRect(Int32, FS_MATRIX) Gets character bounding box
Public methodGetCharWidth Gets the width of the specified character
Public methodGetItemInfo Gets item information
Public methodGetSpaceWidth Gets the width of space character
Public methodRecalcPositionData Recalculate charactes positions
Top
See Also