Description

Gets/Sets the file access mode, for reading or for writing. Not all formats are supported for writing.

Property type

A mcfmFileMode enumeration.  

Syntax

object.ReadWriteMode [= value]

The ReadWriteMode Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McStream.
valueA mcfmFileMode enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mcSTREAM_READ1

open the file to read it into the image

 mcSTREAM_WRITE2

open the file to write it to a new or existing image file

 mcSTREAM_READ_WRITE3

open the file for both access (may not work for all formats)