WriteBitmap/en: Porovnání verzí
(Založena nová stránka s textem „Type Number“) |
(Založena nová stránka s textem „A non-zero value creates the path specified by the FileName parameter, if it does not exist“) |
||
| Řádek 38: | Řádek 38: | ||
Type [[Special:MyLanguage/Datové typy#Number | Number]] | Type [[Special:MyLanguage/Datové typy#Number | Number]] | ||
| − | + | A non-zero value creates the path specified by the FileName parameter, if it does not exist | |
=== OnlyIfNotNull === | === OnlyIfNotNull === | ||
Verze z 17. 12. 2020, 21:44
Obsah
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
Typ Number
Pokud má hodnotu 1, pak se příkaz neprovede, jestliže není zadána bitmapa Bitmap.
Enabled
Typ Number
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
PreWait
Typ Number
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li 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.