SetMacros
Sets macros to the document.
Parameters:
Name |
Type |
Description |
data |
Macros
|
The Macros object containing the data about all the macros from the document. |
Returns:
-
This method doesn't return any data.
Example
Copy code
window.Asc.plugin.executeMethod ("SetMacros", [JSON.stringify Content)], function () {
window.Asc.plugin.executeCommand ("close", "");
});