OpenFile

Syntax

Document.OpenFile ( FilePath )

Parameters

String FilePath - specifies the name of the image file to be opened

Returns

Nothing

Remarks

Loads an image file into the buffer associated with Document, and initializes all related properties such as XSize, YSize and Color. The file to be loaded is specified by the string FilePath. This parameter should include the complete path (drive letter and directory) specification, as well as the filename and its extension. The extension is used to infer the file format and instructs MaxIm DL how to interpret the file contents. All types of files supported by the Open command are accessible except RAW, which requires image dimension and pixel size data not available to this method.

This method is equivalent to the Open command.