Table of Contents

IMAGESTYLE property

Applies To

Description

This property specifies how the image is rendered onto a the window's client area. The following property values are supported:

ValueDescription
"0"Clip - the image is not resized and is simply rendered onto the client area according to the IMAGEALIGN property. (Note that the IMAGEORIGIN property will override the image alignment).
"1"Stretch - the image is resized to cover the entire client area of the window.
"2"Tile - the image is tiled across the entire client area.
"3"Scale - the image is resized bit its proportions are kept constant (e.g. if the image is taller than it is wide the image height will be resized to the height of the client area, and its width scaled to keep the same proportions. It will also respect the IMAGEALIGN property).