Syntax
Document.AddConstant ( Offset )
Parameters
Float Offset - Value to be added to every pixel of Document
Returns
Nothing
Remarks
Adds the constant Offset to every pixel of this document. If the image is tricolor, Offset is added to each of the Red, Blue, and Green planes. Offset can be negative, but the resulting values are clipped at zero; pixel values are never allowed to be negative.
This method is equivalent to the Add Constant edit box in the Pixel Math command used with Operation None.