LEADTOOLS Annotations (Leadtools.Annotations assembly)

Alignment Property (AnnTextObject)

Show in webframe





Gets or sets a value that indicates the text alignment.
Syntax
public virtual StringAlignment Alignment {get; set;}
'Declaration
 
Public Overridable Property Alignment As StringAlignment
'Usage
 
Dim instance As AnnTextObject
Dim value As StringAlignment
 
instance.Alignment = value
 
value = instance.Alignment

            

            
public:
virtual property StringAlignment Alignment {
   StringAlignment get();
   void set (    StringAlignment value);
}

Property Value

A System.Drawing.StringAlignment value that specifies the text alignment.
Remarks
This is the horizontal alignment of the text inside the AnnRectangleObject.Bounds bounding rectangle. To set the vertical alignment or the text inside the bounding rectangle, use the LineAlignment property.
For more information, refer to Using Text in Annotation Object.
Example
For an example, refer to AnnTextObject.
Requirements

Target Platforms

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.