←Select platform

TextHorizontalAlignment Property

Summary

Gets or sets a value that indicates the text horizontal alignment. This is a dependency property.

Syntax

C#
VB
C++
public AnnTextAlignment TextHorizontalAlignment { get; set; } 
  
Public Property TextHorizontalAlignment As Leadtools.Windows.Annotations.AnnTextAlignment 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly