The TextItem type exposes the following members.

Constructors

  NameDescription
Public methodTextItem()()()()
Initializes a new instance of the TextItem class.
Public methodTextItem(Double, Double, Double, Double, String)
Initializes a new instance of the TextItem class with the specified location, size and text.

Methods

  NameDescription
Public methodClone
Creates a copy of the current TextItem.
(Overrides Item..::..Clone()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBackColor
Gets or sets the background color of the text. Default value is White
Public propertyBorderColor
Gets or sets the color of the border of the rectangle container. Default value is Black
Public propertyBorderThickness
Gets or sets the thickness for each side of the rectangle container. Default value is 0 (zero)
Public propertyCacheItemId
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.)
Public propertyCornerRadius
Gets or sets the radii of a rectangle's corners. Default value is 0 (zero)
Public propertyCounterStep
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)
Public propertyCounterUseLeadingZeros
Gets or sets whether leading zeros are printed or suppressed when using counters. Default value is false
Public propertyDataField
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.)
Public propertyDpi
Gets or sets the item resolution, in dots per inch.
(Inherited from Item.)
Public propertyFont
Gets the Font object for the text. Default value is Arial, 8pt
Public propertyForeColor
Gets or sets the foreground color of the text. Default value is Black
Public propertyHeight
Gets or sets the height of the text item. Default value is 0.5
Public propertyMask
Gets or sets the input Mask for the text. Default value is an empty string
Public propertyMaskIncrement
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
Public propertyName
Gets or sets the programmatic identifier or name assigned to the item. Default value is an empty string
(Inherited from Item.)
Public propertyRightToLeft
Gets or sets whether the text should draw right-to-left for RTL languages. Default value is false
Public propertyRotationAngle
Gets or sets the rotation angle to apply on this item. It is measured clockwise from the x-axis. Default value is 0 (zero)
Public propertySizing
Gets or sets the text sizing. Default value is None
Public propertyText
Gets or sets the text. Default value is an empty string
Public propertyTextAlignment
Gets or sets the alignment of the text. Default value is Left
Public propertyTextPadding
Gets or sets the amount of space between the container's border and the text content. Default value is 0 (zero)
Public propertyUnitType
Gets or sets the Unit of Measurement for the item.
(Inherited from Item.)
Public propertyUseCache
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.)
Public propertyWidth
Gets or sets the width of the text item. Default value is 1
Public propertyX
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.)
Public propertyY
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.)

See Also