Click or drag to resize

PdfTextObject Class

Represents a text object.
Inheritance Hierarchy

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.37.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.37.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 character spacing.
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 propertyMatrix
Gets or sets transformation matrix of the text object
Public propertyRenderMode
Gets or sets the text rendering mode.
Public propertyTextAnsi
Gets/sets ANSI string from/to text object
Public propertyTextAscii Obsolete.
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 propertyTextMatrix Obsolete.
This property is obsolete. Please use Matrix property instead.
Public propertyTextUnicode
Gets or sets unicode string from text object
Public propertyWordSpacing
Gets or sets word spacing.
Top
Methods
  NameDescription
Public methodCalcCharPos
Calculate the offsets to start and end of each character in text object
Public methodStatic memberCreate Obsolete.
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 specified character
Public methodGetItemInfo
Gets item information
Public methodGetSpaceWidth
Gets the width of space character
Public methodRecalcPositionData
Recalculate charactes positions
Top
See Also