ComponentOne VSView Reporting Edition
Align Property

Returns or sets the Field's alignment.

Syntax

field.Align[ = FieldAlignSettings ]

Remarks

This property determines how text is aligned within the field. Valid settings are described below:

 

Constant

Value

Description

vsrGeneral

-1

Align numbers to the right, other values to the left. This is the default value.

vsrLeftTop

0

Align to the left and to the top of the field box.

vsrCenterTop

1

Align to the center and to the top of the field box.

vsrRightTop

2

Align to the right and to the top of the field box.

vsrLeftBottom

3

Align to the left and to the bottom of the field box.

vsrCenterBottom

4

Align to the center and to the bottom of the field box.

vsrRightBottom

5

Align to the right and to the bottom of the field box.

vsrLeftMiddle

6

Align to the left and to the middle of the field box.

vsrCenterMiddle

7

Align to the center and to the middle of the field box.

vsrRightMiddle

8

Align to the right and to the middle of the field box.

vsrJustTop

9

Justify and align to the top of the field box.

vsrJustBottom

10

Justify and align to the bottom of the field box.

vsrJustMiddle

11

Justify and align to the middle of the field box.

 

NOTE: To control picture alignment, use the PictureAlign property.

Data Type

FieldAlignSettings (Enumeration)

 

 


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

Product Support Forum  |  Documentation Feedback