0 | The image is not altered. In this case, if the image is too large, it will be truncated, if it’s too small, it will be aligned to the top left corner of the Ribbon area. |
1 | The image is resized to fit completely the Ribbon area. The aspect ratio may be altered. This is also the default behavior when Background-Bitmap-Scale is not set. |
2 | The image is resized maintaining the aspect ratio. The resized image may not fit completely the Ribbon area. |
working-storage section. 77 screen-1-rbn-1-hdl handle of ribbon. 77 watermark-jpg pic s9(9) comp-4. ... procedure division. ... display ribbon tab-to-add ( "Page-1" "Page-2") bitmap-number ( 0 0) lines 4.4375 background-bitmap-handle watermark-jpg background-bitmap-scale 0 id 6 bitmap-width 16 handle screen-1-rbn-1-hdl . ... |