←Select platform

Alignment Property

Summary

Gets or sets a value that indicates the text alignment.

Syntax

C#
VB
C++
public StringAlignment Alignment { get; set; } 
  
Property Alignment As StringAlignment 
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 bounding rectangle. To set the vertical alignment of the text inside the bounding rectangle, use the LineAlignment property. For more information, refer to Using Text in Annotation Objects. (Deprecated)

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