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




Gets or sets the line alignment information.

Syntax

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

Return Value

A StringAlignment value that specifies the line alignment.

Example

For an example, refer to AnnTextObject.

Remarks

This is the vertical alignment of the text inside the Bounds 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 Object.

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