WriteBitmap

Z Wiki
Přejít na: navigace, hledání
Toto je přeložená verze stránky WriteBitmap, překlad je hotový z 100 %.

Jiné jazyky:
English • ‎čeština

Description

Alias: WB

Save bitmap to file.;

Save bitmap Bitmap to file with the name FileName. Unless the parameter is Unique zero, the filename can be changed to make it unique. The filename is saved in the output FileName.

Input parameters

Bitmap

Type Bitmap

Bitmap to be saved to file with a name determined by the parameter FileName. The values ErrorBmp, ErrorScreen nebo ErrorRegion can also be used.

FileName

Type String

Filename including the path used to save the bitmap Bitmap. Extensions bmp and png are supported.

Unique

Type Number

With a value of 1, the filename will be automatically renamed if a file with that name already exists. The name used will be stored in the output parameter FileName.

MakePath

Type Number

A non-zero value creates the path specified by the FileName parameter if it does not exist

OnlyIfNotNull

Type Number

If the value is 1, the command will not execute if the bitmap is not entered Bitmap.

Enabled

Type Number

Enables or blocks a command. The command will not when the value is 0.

PreWait

Type Number

Delay in milliseconds before executing the command. Has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds after the command is executed. Has no effect if Enabled=0.

Output parameters

FileName

Type String

Name of the file where the bitmap was saved. It may differ from the input parameter FileName if Unique=1.