Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Alignment Property
See Also 
Leadtools.Annotations Namespace > IAnnTextObject Interface : Alignment Property



Gets or sets a value that indicates the text alignment.

Syntax

Visual Basic (Declaration) 
Overridable Property Alignment As StringAlignment
Visual Basic (Usage)Copy Code
Dim instance As IAnnTextObject
Dim value As StringAlignment
 
instance.Alignment = value
 
value = instance.Alignment
C# 
virtual StringAlignment Alignment {get; set;}
C++/CLI 
virtual property StringAlignment Alignment {
   StringAlignment get();
   void set (StringAlignment value);
}

Return Value

A 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features