Visual Basic (Declaration) | |
---|---|
Public Property TextVerticalAlignment As AnnTextAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnTextAlignment TextVerticalAlignment {get; set;} |
C++/CLI | |
---|---|
public: property AnnTextAlignment TextVerticalAlignment { 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 vertical alignment.For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextObject.
This is the vertical alignment of the text inside the AnnRectangleObject.Left, AnnRectangleObject.Top, Width and Height bounding rectangle.
To set the horizontal alignment of the text inside the bounding rectangle, use the TextHorizontalAlignment 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