Click or drag to resize

PdfTextObject Class

Represents a text object.
Inheritance Hierarchy

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

The PdfTextObject type exposes the following members.

Properties
  NameDescription
Public propertyBoundingBox
Gets page object bounding box.
(Inherited from PdfPageObject.)
Public propertyCharsCount
Gets the number of characters from a text object.
Public propertyCharSpacing
Gets or sets character spacing.
Public propertyCodePage Obsolete.
Gets or sets the code page identifier of the current TextAscii property. If 0 then DefaultAnsiEncoding is used.
Public propertyFillColor
Gets or sets the fill color of a page object.
(Inherited from PdfPageObject.)
Public propertyFont
Gets or sets the Font of a text object.
Public propertyFontSize
Gets or sets font size.
Public propertyIsTransparency
ets a value that represents that whether the specified PDF page object contains transparency.
(Inherited from PdfPageObject.)
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 propertyMarkedContent
Gets the list of PdfMarkedContent items associated with this object.
(Inherited from PdfPageObject.)
Public propertyMatrix
Gets or sets transformation matrix of the text object
Public propertyObjectType
Gets page object type
(Inherited from PdfPageObject.)
Public propertyRenderMode
Gets or sets the text rendering mode.
Public propertyStrokeColor
Gets or sets the stroke color of a page object.
(Inherited from PdfPageObject.)
Public propertyTextAnsi
Gets/sets ANSI string from/to text object
Public propertyTextAscii Obsolete.
Gets/sets ANSI string from/to text object
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 methodClone
Create a new page object based on this page object.
(Inherited from PdfPageObject.)
Public methodCopy Obsolete.
Copy page object information from one to another
(Inherited from PdfPageObject.)
Public methodCopyClipPath
Copy clip path from one page object to another
(Inherited from PdfPageObject.)
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
Public methodRemoveClipPath
Remove a clip from the page object.
(Inherited from PdfPageObject.)
Public methodTransform(FS_MATRIX)
Transform (scale, rotate, shear, move) page object.
(Inherited from PdfPageObject.)
Public methodTransform(Single, Single, Single, Single, Single, Single)
Transform (scale, rotate, shear, move) page object.
(Inherited from PdfPageObject.)
Public methodTransformClipPath
Transform (scale, rotate, shear, move) the clip path of an object.
(Inherited from PdfPageObject.)
Top
Fields
  NameDescription
Public fieldHandle
Gets the Pdfium SDK handle that the object is bound to
(Inherited from PdfPageObject.)
Top
See Also