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.
When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the horizontal alignment of the first annotation object in the group that implements the IAnnTextObject interface. For more information refer to TextHorizontalAlignment.
When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the horizontal alignment for each object that implements the IAnnTextObject interface. For more information refer to TextHorizontalAlignment.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family