The TextShape type exposes the following members.

Constructors

  NameDescription
Public methodTextShape()()()()
Create an empty text shape.
Public methodTextShape(Double, Double, String, Font, Double)
Create a text shape with given properties.
Public methodTextShape(Double, Double, String, Font, Double, Color)
Create a text shape with given properties.

Methods

  NameDescription
Public methodClone
Clones a Shape.
(Overrides Shape..::..Clone()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBold
If set, the text appears bold. Note that the boldness is simulated by using a thicker stroke. It is preferrable to use a bold font if possible. E.g. use arialbd.ttf for bold Arial and arial.ttf for regular Arial. This property is ignored if applied to a Bold font.
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyBoundingBox
The size of the textshape after rotation is applied.
Public propertyDirection
Read direction of this text (left-to-right or right-to-left).
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyFont
Text is typeset using this font.
Public propertyFontSize
Size of font in points.
Public propertyHeight
The measured height is the space that will be used when drawing this shape on the page.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyItalic
If set, the text appears italic. Note that the italicness is simulated by skewing the text slightly. It is preferrable to use an italic font if possible. E.g. use ariali.ttf for italic Arial and arial.ttf for regular Arial. This property is ignored if applied to an Italic font.
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyText
Display this text.
Public propertyTextColor
Forecolor of text.
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyWidth
The measured width is the space that will be used when drawing this shape on the page.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

See Also