The SaveSymbol transaction saves the group of selected objects in the specified document window to a file. Normally the file is given a defined symbol extension and placed in the defined symbol directory. Symbol files can later be selected and placed with the Symbol or Hotspot tools.
Type XTYP_EXECUTE
Syntax [SaveSymbol(docwinID, "fileName", "symbolLabel")]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
fileName |
file name including path |
name and location to save the symbol under | |
|
|
|
"" (empty string) |
prompt user for file name |
|
symbolLabel |
string |
label, maximum 80 characters | |
Remarks
Symbols usually have an .sbl extension, but you can also use other single-layer and single-page vector file types as symbols.
Release information
Added in Release 3.60.
See also