loadPicture

loadPicture(fileName: String): IJadeAutoPicture;

The loadPicture method of the IDispatch class creates a picture object from the external file specified in the fileName parameter, which can be a valid file name or it can be the fully qualified path and name of a valid picture file.

If the specified file does not exist or you specify an invalid file name, an exception is raised.

The IJadeAutoPicture class is a standard subclass of the OLE_Automation class, which was created as a subclass of the IDispatch class when the OLE automation library was preloaded into the JADE RootSchema.