Represents a text element.
The following tables list the members exposed by the TextElement type.
Public Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of the current TextElement.
(Overrides .Clone().) | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetSizeAfterActions |
Calculates the new size of the element after applying the actions onto it.
(Inherited from Element.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | (Inherited from Element.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
| Name | Description | |
|---|---|---|
| TextElementNew | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| Actions | (Inherited from Element.) | |
| AutoSize |
Gets or sets whether this TextElement object is automatically resized to display its entire contents.
| |
| ConvertEmptyStringToNull |
Gets or sets a value indicating whether empty string values ("") are automatically converted to null values when the data field is updated in the data source.
| |
| DataTextField |
Gets or sets the name of the field from the data source that contains the values to bind to the Text property of a TextElement object.
| |
| DataTextFormatString |
Gets or sets the string that specifies the format in which the text for each TextElement object is rendered.
| |
| Font |
Gets the Font object for the text.
| |
| ForeColor |
Gets or sets the foreground color of the text.
| |
| Height |
Gets or sets the height of the element.
(Inherited from Element.) | |
| Multiline |
Gets or sets whether the text can span more than one line.
| |
| Name |
Gets or sets the string identifying the element. The element's name should be unique throughout the scope of the current output composite image.
(Inherited from Element.) | |
| NullDisplayText |
Gets or sets the text displayed for a field when the field's value is null.
| |
| StrokeColor |
Gets or sets the color of the border along the outline of the text.
| |
| StrokeWidth |
Gets or sets the width of the border along the outline of the text.
| |
| Text |
Gets or sets the text associated with this TextElement object.
| |
| TextAlignment |
Gets or sets the alignment of the text.
| |
| TextQuality |
Gets or sets the quality of the text.
| |
| Width |
Gets or sets the width of the element.
(Inherited from Element.) | |
| X |
Gets or sets the x-coordinate of the left side of the element
(Inherited from Element.) | |
| Y |
Gets or sets the y-coordinate of the top side of the element
(Inherited from Element.) |