The TextItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextItem()()()() |
Initializes a new instance of the TextItem class.
| |
TextItem(Double, Double, Double, Double, String) |
Initializes a new instance of the TextItem class with the specified location, size and text.
|
Methods
Name | Description | |
---|---|---|
Clone |
Creates a copy of the current TextItem.
(Overrides Item..::..Clone()()()().) | |
Equals | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BackColor |
Gets or sets the background color of the text. Default value is White
| |
BorderColor |
Gets or sets the color of the border of the rectangle container. Default value is Black
| |
BorderThickness |
Gets or sets the thickness for each side of the rectangle container. Default value is 0 (zero)
| |
CacheItemId |
Gets or sets the ID which will be assigned to the item in the cache. It must be a unique ID value for each item. The ID must be 1 to 8 alphanumeric [A-Z][0-9] characters long. If it's empty, then a random ID will be assigned automatically at runtime. Default value is an empty string
(Inherited from Item.) | |
CornerRadius |
Gets or sets the radii of a rectangle's corners. Default value is 0 (zero)
| |
CounterStep |
Gets or sets the step for the counter. The counter will increase (positive) or decrease (negative) by this number on every printed label. Default value is 0 (zero)
| |
CounterUseLeadingZeros |
Gets or sets whether leading zeros are printed or suppressed when using counters. Default value is false
| |
DataField |
Gets or sets the name of the field from the data source that contains the values to bind to this item. Default value is an empty string
(Inherited from Item.) | |
Dpi |
Gets or sets the item resolution, in dots per inch.
(Inherited from Item.) | |
Font |
Gets the Font object for the text. Default value is Arial, 8pt
| |
ForeColor |
Gets or sets the foreground color of the text. Default value is Black
| |
Height |
Gets or sets the height of the text item. Default value is 0.5
| |
Mask |
Gets or sets the input Mask for the text. Default value is an empty string
| |
MaskIncrement |
Gets or sets the mask increment. The increment is the value to be added to the text on each label to be printed. Default value is an empty string
| |
Name |
Gets or sets the programmatic identifier or name assigned to the item. Default value is an empty string
(Inherited from Item.) | |
RightToLeft |
Gets or sets whether the text should draw right-to-left for RTL languages. Default value is false
| |
RotationAngle |
Gets or sets the rotation angle to apply on this item. It is measured clockwise from the x-axis. Default value is 0 (zero)
| |
Sizing |
Gets or sets the text sizing. Default value is None
| |
Text |
Gets or sets the text. Default value is an empty string
| |
TextAlignment |
Gets or sets the alignment of the text. Default value is Left
| |
TextPadding |
Gets or sets the amount of space between the container's border and the text content. Default value is 0 (zero)
| |
UnitType |
Gets or sets the Unit of Measurement for the item.
(Inherited from Item.) | |
UseCache |
Gets or sets whether the item should be cached in the printer's memory. An item cannot be cached if it's bound to some data source field through the DataField property. Default value is false
(Inherited from Item.) | |
Width |
Gets or sets the width of the text item. Default value is 1
| |
X |
Gets or sets the x-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. Default value is 0 (zero)
(Inherited from Item.) | |
Y |
Gets or sets the y-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. Default value is 0 (zero)
(Inherited from Item.) |