←Select platform

Alignment Property

Summary

Gets or sets a value that indicates the text alignment.

Syntax

C#
VB
C++
public virtual StringAlignment Alignment { get; set; } 
  
Public Overridable Property Alignment As StringAlignment 
public: 
virtual property StringAlignment Alignment { 
   StringAlignment get(); 
   void set (    StringAlignment ); 
} 

Property Value

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

Remarks

This is the horizontal alignment of the text inside the AnnRectangleObject.Bounds bounding rectangle. To set the vertical alignment or the text inside the bounding rectangle, use the LineAlignment property. For more information, refer to Using Text in Annotation Object. (Deprecated)

Example

For an example, refer to AnnTextObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly