Using Images in Applications

Notes/Domino has long supported the use of images in applications through copying and pasting images into a form and importing images into a form. In Domino R5, image resources were added to further extend the use of images in Domino applications, which greatly improves your ability to manipulate and manage images.

An image resource is a graphic that can be displayed throughout an application, from a central location within the database. This saves space and minimizes maintenance because any changes you make to the image are automatically reflected in each place that references the image resource. An image resource can be a GIF, JPEG, or BMP file and is saved in the database. After you have created an image resource, it can be used to add graphics or icons to pages, forms, action buttons, and outline entries, or it can be used to add background images on forms, documents, pages, table cells, and action buttons.

Image resources are converted to the GIF or JPEG format.


To create an image resource, follow these steps:

1.
Open the database in which you would like to add an image resource.

2.
Expand Resources in the Design Pane and then choose Images to see a list of all the image resources in the database.

3.
Click the New Image Resource button. This opens the New Image dialog box.

4.
Choose a file (or files) to import and ensure that it is either a GIF, BMP, or JPEG file.

5.
Click Open to add the file(s) as an image resource. Designer creates an image resource for each file.

After you have added some image resources, you can follow these steps to use one in your application:

1.
Open a page, form, outline entry, or other design element in which you'd like to add an image.

2.
Position the cursor to the place where you want the image to appear.

3.
Choose Create, Image Resource from the menu.

4.
Select the image type (GIF, JPEG, or All Images) from the Image Type list to display the list of available image resources.

5.
Choose the image resource to insert the file.

6.
Click OK to add the image.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.105.247