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

Alignment Property (IAnnTextObject)






Gets or sets a value that indicates the text alignment.
Syntax
StringAlignment Alignment {get; set;}
'Declaration
 
Property Alignment As StringAlignment
'Usage
 
Dim instance As IAnnTextObject
Dim value As StringAlignment
 
instance.Alignment = value
 
value = instance.Alignment
StringAlignment Alignment {get; set;}
get_Alignment();
set_Alignment(value);
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 bounding rectangle. To set the vertical alignment of the text inside the bounding rectangle, use the LineAlignment property.
For more information, refer to Using Text in Annotation Objects.
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

IAnnTextObject Interface
IAnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices

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