Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.145 ImageMode Property

Description:

Defines the method to be used for displaying the image.

Used in control(s):

Image

Values (with constants):

0 - Standard:(POW-IMAGEMODE-STANDARD)
The image is displayed within the control, clipped if necessary.

1 - Stretch:(POW-IMAGEMODE-STRETCH)
The image is expanded or contracted to fit the size of the control.

2 - Auto:(POW-IMAGEMODE-AUTO)
If the image is smaller than the size of the control, the control is shrunk to fit the image. If the image is larger than the size of the control, scrollbars are inserted.

3 - Adjust:(POW-IMAGEMODE-ADJUST)
The size of the control is adjusted to match the size of the image.

Default value:

1 - Stretch:(POW-IMAGEMODE-STRETCH)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Set and reference.

Backward compatibility attribute:

POW-IMAGEMODEPIC S9(4) COMP-5

POW-STRETCHPIC S9(4) COMP-5