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 specify parameters, according to which shapes will be modified. The moniker 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 the operation are given in the following examples:
Example name |
Creating a formatting style |
Creating a rectangle |
Connecting two shape points |
Creating a connecting line bending point |
See also: