ComponentOne VSView 8.0
TextAlign Property (VSDraw)

Returns or sets the text alignment.

Syntax

[form!]VSDraw.TextAlign[ = DrawTextAlignSettings ]

Remarks

The settings for the TextAlign property are described below:

Constant

Value

Description

tadLeft

0

Text is left-aligned. The string starts at the position specified by the X1 property.

tadCenter

1

Text is center-aligned. The middle of the string line up with the position specified by the X1 property.

tadRight

2

Text is right-aligned. The string ends at the position specified by the X1 property.

Data Type

DrawTextAlignSettings (Enumeration)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback