Description Determines the method of how an image stretches to fit the size of a BIDisp control.
Usage [form.]BIDisp.ScaleMode [= setting]
Settings The ScaleMode property settings for a TIFF control are:
Setting Description
tifsmFitToWindow = 0 (Default) FitToWindow. The image is resized to fit the control.
tifsmNoScale = 1 NoScale. Put the image onto the control without scaling.
tifsmScaleToWidth = 2 ScaleToWidth. The image is resized to fit the control horizontally.
tifsmScaleToHeight = 3 ScaleToHeight. The image is resized to fit the control vertically.
tifsmScaleToScreen = 4 ScaleToScreen. The image is resized to fit the control vertically and horizontally.
tifsmFitProportionally = 5 FitProportionally. The image is resized with a unique scaling factor of both a vertical and horizontal direction to fit the control.
tifsmFitToDPI = 6 FitToDPI. The image is resized according to its resolution. This ensures the image appears correctly, even if the vertical and horizontal DPI values are not the same. (E.g.: 204 x 98 DPI fax images)
Remarks The scaling mode 1, 2, 3 and 6 can use scroll bars.
Data Type Integer (Enumerated)
Available þDesign-Time þRun-Time Read þRun-Time Write
See Also ScrollBars Property