Creating an Image Item
To create an image item:
- In the Object Navigator, click the plus icon
beside the desired block node.
Oracle Forms expands the block node and displays its subnodes.
- Click the Items node.
- Click the Create button
in the toolbar.
A new item with a default name is inserted under the Items
node.
- Double-click the object icon beside the new item to display the Property
Palette.
- Under the General node, set the Item Type property
to Image.
- Use the Property Palette or Layout Editor to set the image item's display
appearance.
Keep the following in mind when working with image
items:
- The datatype of an image item is preset to LONG RAW (the Datatype property
does not appear on the Property Palette for an image item).
- Set the Compression Quality property to tell Oracle Forms the degree
to which you wish the image to be compressed when it is read into the form.
This compression occurs regardless of whether the image file was compressed
in the file system.
- Set the Sizing Style property to tell Oracle Forms how to display images
that are larger than the image item's border. Choose Crop to have Oracle Forms
display the image at its actual size, even if a portion of the image lies
outside the image item's borders. Choose Adjust if you want Oracle Forms
to scale the image so it fits entirely inside the image item's borders.