SetWspMdResult SetWspMd(WspId tWsp, SetWspMdArg tArg)
tWsp. Moniker of opened workspace instance.
tArg. Operation execution parameters.
The SetWspMd operation changes workspace.
These operation enables changing the list of shapes on the workspace and their properties. To execute the operation, in the tWsp field specify the workspace instance moniker and in the tArg field - parameters according to which shapes will be modified.It can be obtained on executing the OpenWsp operation.
In the tArg.pattern field specify the pattern that will be used to make change, and in the tArg.meta field specify the updated shapes metadata or operations executed on the workspace.
After making changes to save workspace, use the SaveObject or SaveObjectAs operation.
Various methods of using this operation are given in the following examples:
Example name |
Creating a formatting style |
Creating a rectangle |
See also: