Description
Method used to query for installed File Formats in a certain Access Mode.
-
Return Type
-
A Long value.
LONG indicating the number of values in the safearrays
-
Syntax
-
object.GetAllFileFormats (mode, extensions, descriptions)
The GetAllFileFormats Method syntax has these parts:
|
| object | An expression evaluating to an object of type McStream. |
| mode | Required. A mcfmFileMode enumeration, as described in settings. |
| extensions | Required. A Variant value. |
| descriptions | Required. A Variant value. |
Settings
The settings for mode are:
 | mcSTREAM_READ | 1 |
open the file to read it into the image
|
 | mcSTREAM_WRITE | 2 |
open the file to write it to a new or existing image file
|
 | mcSTREAM_READ_WRITE | 3 |
open the file for both access (may not work for all formats)
|
Remarks
This method is used by the Open and SaveAs dialog boxes to populate the File Formats drop down box.
The method does not instantiate any Subclasses, but uses the Registry to query for McStream information.
The extensions and descriptions arrays have a 1-1 relationship so that descriptions(n) contains the description for the Stream with extension extensions(n).