DirectMono

Property

Document.DirectMono (read-only, Long)

Syntax

Document.DirectMono

Remarks

Returns the address of the pixel array for monochrome images, which is actually an array of XSize by YSize Floats. This property is provided only for the use of plug-ins, to allow them to access or alter individual pixels in the image without physically copying the data. It cannot be used successfully by scripts.

Note: Plug-ins can also access documents other than the one supplied with the call. This is done by using the Documents collection to access another image. Upon accessing DirectMono, the image will be marked as modified regardless of whether it is actually changed or not. The Undo function will also be available for the image.

DirectMono is zero for a color image.

USE WITH EXTREME CAUTION.