LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LineAlignment Property
See Also 
Leadtools.Annotations Namespace > IAnnTextObject Interface : LineAlignment Property



Gets or sets a value that indicates the line alignment.

Syntax

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

Property Value

A System.Drawing.StringAlignment value that specifies the line alignment.

Remarks

This is the vertical alignment of the text inside the bounding rectangle. To set the horizontal alignment of the text inside the bounding rectangle, use the Alignment property.
For more information, refer to Using Text in Annotation Objects.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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