Visual Basic (Declaration) | |
---|---|
Public Property TextHorizontalAlignment As AnnTextAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnTextAlignment TextHorizontalAlignment {get; set;} |
C++/CLI | |
---|---|
public: property AnnTextAlignment TextHorizontalAlignment { AnnTextAlignment get(); void set (AnnTextAlignment value); } |
XAML Syntax | |
---|---|
For XAML information, see the Leadtools.Windows.Annotations.AnnTextAlignment type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Syntax | |
---|---|
For XAML information, see the Leadtools.Windows.Annotations.AnnTextAlignment type. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
A AnnTextAlignment value that specifies the text horizontal alignment.For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextObject.
This is the horizontal alignment of the text inside the AnnRectangleObject.Left, AnnRectangleObject.Top, Width and Height 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.
For more information, refer to Using Text in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family