LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnTextAlignment Enumeration
See Also  
Leadtools.Windows.Annotations Namespace : AnnTextAlignment Enumeration



The AnnTextAlignment Enumeration supports WPF/Silverlight.

The AnnTextAlignment Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Specifies the alignment of a text string relative to its layout rectangle. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Enum AnnTextAlignment 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As AnnTextAlignment
C# 
public enum AnnTextAlignment : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class AnnTextAlignment : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
CenterSpecifies that text is aligned in the center of the layout rectangle.
FarSpecifies that text is aligned far from the origin position of the layout rectangle.
NearSpecifies the text is aligned near the layout rectangle.

Example

For C#/VB examples, refer to AnnTextObject.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Annotations.AnnTextAlignment

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

AnnTextAlignment requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.