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




Gets or sets a value that indicates the text alignment.

Syntax

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

Return Value

A StringAlignment value that specifies the text alignment.

Remarks

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

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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