←Select platform
In This Topic ▼

AnnTextObject Class Members

Summary

The following tables list the members exposed by AnnTextObject.

Public Constructors

Name Description
Public Constructor
AnnRectangleObject Initializes a new AnnRectangleObject class object with default values. (Inherited from AnnRectangleObject)
Public Constructor AnnTextObject Initializes a new AnnTextObject class object.

Public Methods

Name Description
Public Method
AutoSize Adjusts this AnnTextObject object so its bounds closely fits its contents.
Public Method Clone Creates an exact copy of this AnnTextObject object.
Public Method Deserialize Loads this object with data from the specified XML.
Public Method GetArea Returns the area defined by the rectangle generated from all the points inside this object. (Inherited from AnnRectangleObject)
Public Method GetAreaInPixels Returns the pixel count of this AnnRectangleObject. (Inherited from AnnRectangleObject)
Public Method GetInvalidateRect Gets a LeadRectD that specifies the current physical rectangle of this AnnRectangleObject object. (Inherited from AnnRectangleObject)
Public Method HitTest Performs hit-testing on this AnnRectangleObject. (Inherited from AnnRectangleObject)
Public Method Serialize Serializes the object to an XML document.

Protected Methods

Name Description
Protected Method
Create Creates a new instance of AnnTextObject.

Public Properties

Name Description
Public Property
Angle Gets the rotation angle for a normalized AnnRectangleObject. (Inherited from AnnRectangleObject)
Public Property FriendlyName Gets the friendly name for AnnTextObject.
Public Property HorizontalAlignment Gets or sets a value indicating the horizontal alignment for this AnnTextObject.
Public Property IsFlipped Indicates whether the object has been flipped. (Inherited from AnnRectangleObject)
Public Property IsReversed Indicates whether the object has been reversed. (Inherited from AnnRectangleObject)
Public Property Padding Gets or sets an AnnThickness object which controls the distance between the text and the bounding rectangle of the text.
Public Property Rect Gets or sets the bounding rectangle of this AnnRectangleObject. (Inherited from AnnRectangleObject)
Public Property SupportsContent Indicates if this object supports content.
Public Property SupportsFill Indicates if this object supports a fill.
Public Property SupportsFont Indicates if this object supports a font.
Public Property SupportsStroke Indicates if this object supports AnnStroke. (Inherited from AnnRectangleObject)
Public Property Text Gets or sets the text string associated with this AnnTextObject.
Public Property TextBackground Gets or sets the AnnBrush used to paint the background of the text.
Public Property TextForeground Gets or sets the AnnBrush used to paint the foreground of the text.
Public Property TextRotate Gets or sets the rotation value for this AnnTextObject.
Public Property TextSize Used internally by LEADTOOLS.
Public Property VerticalAlignment Gets or sets a value indicating the vertical alignment for this AnnTextObject.
Public Property WordWrap Gets or sets a value that indicates whether an AnnTextObject automatically wraps words to the beginning of the next line when necessary.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly