Description
Create an McRegionAccess interface for read/write pixel access.
-
Return Type
-
A McRegionAccess object.
McRegionAccess** : A pointer to an McRegionAccess interface pointer variable.
-
Syntax
-
object.CreateRegionAccess ([vType], [lChannel], [lLeft], [lTop], [lRight], [lBottom], [AccessMode])
The CreateRegionAccess Method syntax has these parts: |
| object | An expression evaluating to an object of type McFrame. | | vType | Optional. A Variant value. | | lChannel | Optional. A Long value. | | lLeft | Optional. A Long value. | | lTop | Optional. A Long value. | | lRight | Optional. A Long value. | | lBottom | Optional. A Long value. | | AccessMode | Optional. A mcRegionAccessMode enumeration, as described in settings. [in, defaultvalue(mcramReadWrite)
| Settings The settings for AccessMode are:
 | mcramReadWrite | 0 |
Access may be both read and write
|
 | mcramReadOnly | 1 |
Access will be read only. An attempt to write to such an McRegionAccess instance will result in an error.
|
 | mcramWriteOnly | 2 |
Access will be write only. For a cast Type this avoids an unnecessary cast when the McRegionAccess is created.
|
|