The path to the image displayed in the control.

Usage

Set_Property(OLECtrlEntID, "OLE.Image", StringValue)

Values

StringValue can be any string meeting the following format requirements:

Syntax: Full Path and Filename

Default: ""

Remarks

The Image property is the path and filename of the image to be loaded into the control. The image is loaded immediately when this property is set. If the path is invalid, then no new image is set and the previous image is unloaded.

For details regarding supported image types and where you can load images from, see the Image type documentation.

Example

// Load a photoshop file 
Set_Property(@Window:".OLE_PICTURE", "OLE.Image", "c:\image.psd")

See Also

TransparentColor

  • No labels