AddImage Function
Function AddImage( Name: String, FileName: String, Left: Integer, Top: Integer, Width: Integer, Height: Integer, [AutoSize: Boolean], [Stretch: Boolean], [Center: Boolean], [TransParent: Boolean]): IsahImage_Object;
Description
Adds an image component to the form.
Parameters
- Name: The name of the component to add. This name can later be used to determine the value entered by the user.
- FileName: The name and location of the graphic (=\\computer\directory\bitmap.bmp).
- Left, Top, Width, Height: Use these parameters to specify the location and size of the object on the form.
- Autosize: Specify whether the image object must automatically be resized to fit the size of the bitmap.
- Stretch: Specify whether the bitmap must automatically be resized to fit the size of the image object.
- Center: Specify whether the bitmap must be centered in the middle of the image object.
Note: Only one of the parameters autosize, stretch or center may be set to 'True'.
- Transparent: Specify whether the bitmap must be displayed transparent.
Properties, Procedures and Functions
See FormObjects.
Example
See CreateEditForm and CreateWizardForm.