VSView Reporting Edition Reference > Field Object > Field Properties > PictureAlign Property (Field) |
Returns or sets the picture alignment and scaling (see also the Picture property).
field.PictureAlign[ = PictureAlignSettings ]
The PictureAlign property determines how a picture is scaled and aligned to fit the field's render box.
The settings for the PictureAlign property are described below:
Constant |
Value |
Description |
vsrPALeftTop |
0 |
Align to the left and to the top, clipping if necessary. |
vsrPACenterTop |
1 |
Align to the center and to the top, clipping if necessary. |
vsrPARightTop |
2 |
Align to the right and to the top, clipping if necessary. |
vsrPALeftBottom |
3 |
Align to the left and to the bottom, clipping if necessary. |
vsrPACenterBottom |
4 |
Align to the center and to the bottom, clipping if necessary. |
vsrPARightBottom |
5 |
Align to the right and to the bottom, clipping if necessary. |
vsrPALeftMiddle |
6 |
Align to the left and to the middle, clipping if necessary. |
vsrPACenterMiddle |
7 |
Align to the center and to the middle, clipping if necessary. |
vsrPARightMiddle |
8 |
Align to the right and to the middle, clipping if necessary. |
vsrPAClip |
9 |
Align to the left and to the top, clipping if necessary. |
vsrPAZoom |
10 |
Scale the picture to use as much of the render box as possible, while preserving the picture's aspect ratio. |
vsrPAStretch |
11 |
Stretch the picture to fill the render box. This setting is useful for background images. |
vsrPATile |
12 |
Tile the picture to fill the render box. This setting is useful for background images. |
PictureAlignSettings (Enumeration)