[This is preliminary documentation and is subject to change.]
The TextElement type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| TextElement(String) | Initializes a new instance of the TextElement class | |
| TextElement(String, Single, PdfFont) | Initializes a new instance of the TextElement class | |
| TextElement(String, Single, PdfFont, PdfColor) | Initializes a new instance of the TextElement class |
Methods
| Name | Description | |
|---|---|---|
Determines whether the specified object is equal to the current object. (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as the default hash function. (Inherited from | ||
| GetReference |
Returns PDF object indirect reference
(Inherited from PdfObject.) | |
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
| Write |
Writes element into file stream
(Overrides PdfElement Write(PdfWriter).) |
Extension Methods
Properties
| Name | Description | |
|---|---|---|
| Color |
PDF Color
| |
| Content |
Text content
| |
| Font |
PDF Font
| |
| FontSize |
Font size
| |
| ObjectId |
Document-wide unique object Id
(Inherited from PdfObject.) | |
| X |
X-coordinate
(Inherited from PdfElement.) | |
| Y |
Y-coordinate
(Inherited from PdfElement.) |
See Also