DirectGreen

Property

Document.DirectGreen (read-only, Long)

Syntax

Document.DirectGreen

Remarks

Returns the address of the pixel array for the green plane of the image, 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 green plane 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 DirectGreen, 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.

DirectGreen is zero for a monochrome image.

USE WITH EXTREME CAUTION.