10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

How You Can Work with ImagesThe following illustration of an ImageField and a BitmapObject displays therelationship between the two variables associated with the image field, theBitmapObject and the ImageField. For more information about using theImageField system class, see ImageField Object (see page 286).Image TrimUnlike an image field, image trim displays a single bitmap image. When youcreate image trim in OpenROAD Workbench, you specify the name of the filethat contains the bitmap image. At this point, OpenROAD copies the bitmapimage from the file into the bitmap object associated with the image trim.OpenROAD saves this image as part of the form.Although it is possible to replace this image at runtime by setting theFileHandle attribute of the BitmapObject class (see How You Can Store Imagesin Files (see page 283)), generally you do not need to do so.Other FieldsYou can use bitmap images also on button fields, toggle fields, bar fields, andas a background image for all active fields on a form including the form itself.Working with Images and Text Strings 279

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

Saved successfully!

Ooh no, something went wrong!