2.6.6.2 imgClear

Brief Information

Clear the image

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

1. imgClear img:=[Mbook1]Sheet1!mat(1);

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix img

Input

Image

<active>

Specifies the image to be manipulated. The default input is the active image.

Output Image oimg

Output

Image

<input>

Specifies the output image. By default, the output image is the same as the input image.

See the syntax here.

Description

The imgClear function sets all pixels to 0 in the specified bitmap, making it a black image.

Related X-Functions

imgReplaceBg