LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

TextHorizontalAlignment Property (AnnTextObject)

Show in webframe





Gets or sets a value that indicates the text horizontal alignment. This is a dependency property.
Syntax
public AnnTextAlignment TextHorizontalAlignment {get; set;}
'Declaration
 
Public Property TextHorizontalAlignment As AnnTextAlignment
'Usage
 
Dim instance As AnnTextObject
Dim value As AnnTextAlignment
 
instance.TextHorizontalAlignment = value
 
value = instance.TextHorizontalAlignment

            

            
public:
property AnnTextAlignment TextHorizontalAlignment {
   AnnTextAlignment get();
   void set (    AnnTextAlignment value);
}

Property Value

A AnnTextAlignment value that specifies the text horizontal alignment.
Remarks
This is the horizontal alignment of the text inside the Rect bounding rectangle. To set the vertical alignment or the text inside the bounding rectangle, use the TextVerticalAlignment property.
For more information, refer to Using Text in WPF Annotation Objects.
Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextObject.

Requirements

Target Platforms

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.