←Select platform

AnnTextObject Class Members

Summary

The following tables list the members exposed by AnnTextObject.

Public Constructors

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

Public Methods

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

Protected Methods

Name Description
Create Creates a new instance of AnnTextObject.

Public Properties

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

Public Fields

Name Description
TextSize Used internally by LEADTOOLS.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly