enumAFormPictureDrawMode Enum

Integer constants specifying the mode for drawing pictures on the object.

Constants

 

Name

Value

Description

aformPictureDrawModeTile

1

Tile. If the source area is smaller than the target area, the picture will be tiled to fill the target area.

aformPictureDrawModeClip

2

Clip. If the source area is larger than the target area, the picture will be clipped to fit the target area, starting at the top left-most position on the source area.

aformPictureDrawModeStretch

4

Stretch. If the source area is smaller than the target area, the source area will be stretched vertically and/or horiztonally as needed to fill the target area.

aformPictureDrawModeTopLeft

8

TopLeft. Start inserting the source area into the target area starting at the top left-most position on the target area.

aformPictureDrawModeTopRight

16

TopRight. Start inserting the source area into the target area starting at the top right-most position on the target area.

aformPictureDrawModeBottomLeft

32

BottomLeft.Start inserting the source area into the target area starting at the bottom left-most position on the target area.

aformPictureDrawModeBottomRight

64

BottomRight. Start inserting the source area into the target area starting at the bottom right-most position on the target area.

aformPictureDrawModeCenter

128

Center. Start inserting the source area into the target area starting from the center of the source area into the center of the target area.

Applies to

AForm.PictureDrawMode