WriteBitmap

Z Wiki
Verze z 4. 1. 2021, 21:17, kterou vytvořil BakerD (diskuse | příspěvky) (Založena nová stránka s textem „Delay in milliseconds before executing the command. Has no effect if Enabled=0.“)
Přejít na: navigace, hledání
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.

Output 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 execute at a value of 0.

PreWait

Type Number

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

PostWait

Typ Number

Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Výstupní parametry

FileName

Typ String

Použité jméno souboru, do kterého byla bitmapa uložena. Může se lišit od vstupního parametru FileName pokud Unique=1.