WriteBitmap/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „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…“)
 
(Není zobrazeno 15 mezilehlých verzí od stejného uživatele.)
Řádek 11: Řádek 11:
 
Save bitmap [[#bitmap-| Bitmap]] to file with the name [[#filename-| FileName]]. Unless the parameter is [[#unique-| Unique]] zero, the filename can be changed to make it unique. The filename is saved in the output [[#filename-| FileName]].
 
Save bitmap [[#bitmap-| Bitmap]] to file with the name [[#filename-| FileName]]. Unless the parameter is [[#unique-| Unique]] zero, the filename can be changed to make it unique. The filename is saved in the output [[#filename-| FileName]].
  
== Output parameters ==
+
== Input parameters ==
  
 
<span id="bitmap-"></span>
 
<span id="bitmap-"></span>
Řádek 36: Řádek 36:
 
=== MakePath ===
 
=== MakePath ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#Number | Number]]
  
Při nenulové hodnotě vytvoří cestu určenou parametrem FileName, pokud neexistuje
+
A non-zero value creates the path specified by the FileName parameter if it does not exist
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#Number | Number]]
  
Pokud má hodnotu 1, pak se příkaz neprovede, jestliže není zadána bitmapa [[#bitmap-| Bitmap]].
+
If the value is 1, the command will not execute if the bitmap is not entered [[#bitmap-| Bitmap]].
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or blocks a command. The command will not when the value is 0.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. Has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Datové typy#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds after the command is executed. Has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
<span id="filename-"></span>
 
<span id="filename-"></span>
 
=== FileName ===
 
=== FileName ===
  
Typ [[Special:MyLanguage/Datové typy#String | String]]
+
Type [[Special:MyLanguage/Datové typy#String | String]]
  
Použité jméno souboru, do kterého byla bitmapa uložena. Může se lišit od vstupního parametru [[#filename-| FileName]] pokud [[#unique-| Unique]]=1.
+
Name of the file where the bitmap was saved. It may differ from the input parameter [[#filename-| FileName]] if [[#unique-| Unique]]=1.

Aktuální verze z 4. 1. 2021, 21:30

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.