skip to main content

Controls Reference : BITMAP : Properties : Bitmap-Scale

Bitmap-Scale
This property specifies what to do if the image dimensions don’t fit the Bitmap area identified by Lines and Size properties.
The possible values for this property are:
If the Bitmap control is resized by a Layout-Manager and Bitmap-Scale is set to "1" or "2", then the image is resized along with the window.
 
Example - Define a bitmap control that will display a scaled image
working-storage section.
77 jlogo-jpg pic s9(9comp-4.
screen section.
  03 screen-1-bi-1 Bitmap
     line 10.0
     column 48.0
     size 130 pixels 
     lines 150 pixels 
     bitmap-scale 1
     bitmap-handle jlogo-jpg
     bitmap-number 1

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left