LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

TextHorizontalAlignment Property (AnnTextObject)






Gets or sets a value that indicates the text horizontal alignment. This is a dependency property. .NET support Silverlight support
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 AnnTextAlignment TextHorizontalAlignment {get; set;}
 get_TextHorizontalAlignment();
set_TextHorizontalAlignment(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.