SetOpaque

Specifies whether the transparency of the overlay rectangles are opaque (1) or transparent (0).

Syntax

bool SetOpaque (StrParam)

Parameters

  • Integer value: 1 or 0.
  • SetOpaque(1) indicates full opacity / black.
  • SetOpaque(0) results in subsequent rectangles that are white.
Smart parameters are supported.

Returns

False if the parameter is not an Integer. Otherwise, True.

Level

All, but generally used at the Page level.

Details

Sets the transparency of the background of the imprint text. This is the background that is added behind the imprinted text. If you use this action it must be called prior to the AnnotateImage action.

If this action is not called, then the default value of 0, white, will be used for the background of the annotation text.

Example:
      SetOpaque("1")
      AnnotateImage("@BATCHID+ Page:+@ID","0","0")