LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Alignment Property (AnnTextObject)






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 StringAlignment Alignment {get; set;}
 get_Alignment();
set_Alignment(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.