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



Gets or sets a value that represents the line alignment.

Syntax

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

Return Value

A StringAlignment value that specifies the line alignment.

Remarks

This is the vertical alignment of the text inside the bounding rectangle.

When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the line alignment of the first object in the group that implements the IAnnTextObject interface. For more information refer to LineAlignment.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the line alignment for each object that implements the IAnnTextObject interface. For more information refer to LineAlignment.

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