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.

IMAGE_ZOOM built-in<br />

Description<br />

Zooms the image in or out using the effect specified in zoom_type and the amount specified in<br />

zoom_factor.<br />

Syntax<br />

PROCEDURE IMAGE_ZOOM<br />

(image_id ITEM,<br />

zoom_type NUMBER);<br />

PROCEDURE IMAGE_ZOOM<br />

(image_name VARCHAR2,<br />

zoom_type NUMBER);<br />

PROCEDURE IMAGE_ZOOM<br />

(image_id ITEM,<br />

zoom_type NUMBER,<br />

zoom_factor NUMBER);<br />

PROCEDURE IMAGE_ZOOM<br />

(image_name VARCHAR2,<br />

zoom_type NUMBER,<br />

zoom_factor NUMBER);<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

image_id Specifies the unique ID <strong>Form</strong> <strong>Builder</strong> assigns when it creates the image<br />

item. The data type of the ID is ITEM.<br />

image_name Specifies the name you gave the image when defining it.<br />

zoom_type Specify one of the following constants to describe the effect you want to<br />

have on the image displayed:<br />

258<br />

ADJUST_TO_FIT Scales the image to fit within the display rectangle:<br />

the entire image is visible and the image fills as much of the image item as<br />

possible without distorting the image.<br />

SELECTION_RECTANGLE Scales the image so the selected region<br />

fully fills the image item.<br />

ZOOM_IN_FACTOR Enlarges the image by the zoom_factor.<br />

ZOOM_OUT_FACTOR Reduces the image by the zoom_factor.<br />

ZOOM_PERCENT Scales the image to the percentage indicated in<br />

zoom_factor.<br />

zoom_factor Specifies either the factor or the percentage to which you want the image<br />

zoomed. Supply a whole number for this argument.<br />

Usage Notes<br />

• Check zoom_factor for reasonableness. For example, specifying a ZOOM_IN_FACTOR of 100

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

Saved successfully!

Ooh no, something went wrong!