11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

would increase the size of your image 100 times, and could cause your application to run out of<br />

memory.<br />

• When specifying ZOOM_IN_FACTOR or ZOOM_OUT_FACTOR, you can use any positive<br />

integer value for zoom_factor, but performance is optimal if you use 2, 4, or 8.<br />

• When specifying ZOOM_PERCENT, you can use any positive integer value for zoom_factor. To<br />

enlarge the image, specify a percentage greater than 100.<br />

• The operator must use the mouse to select a region before specifying SELECTION_RECTANGLE,<br />

or <strong>Form</strong> <strong>Builder</strong> will return an error message.<br />

• Your design should include scroll bars on images that use SELECTION_RECTANGLE.<br />

• Valid for both color and black-and-white images.<br />

IMAGE_ZOOM examples<br />

The following example shows a When-Button-Pressed trigger that doubles the size of the image every<br />

time the button is pressed.<br />

Image_Zoom(’my_image’, zoom_in_factor, 2);<br />

259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!