The Save transaction resaves the document in the specified document window. This transaction is normally used to resave a document whose layers have been modified, but that does not contain any new layers or pages (see Remarks). You can optionally specify a new file name (path included), and choose whether to prompt the user about a conflict between the new file name and an existing one.
Type XTYP_EXECUTE
Syntax [Save(docwinID, saveas, "fileName", "layerLabel", checkExistence)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
saveas |
BOOL |
0 | 1 |
existing | fileName and label |
|
fileName |
file name including path to save the document under | ||
|
label |
string |
label, maximum 80 characters | |
|
checkExistence |
BOOL |
0 | 1 |
do not check | check. See Remarks. |
Remarks
With Spicer Multipage Documents (.das), this transaction only saves the root document, not the layers within it. Use SaveLayer to save specific layers. With Spicer Documents (.smf) and vector files, the entire document is resaved.
If the checkExistence parameter is set to 1 and a file with the specified file name exists, Imagenation will prompt the user before overwriting it.
Release information
Added in Release 3.50.
See also