SetWspMd

Syntax

SetWspMdResult SetWspMd(WspId tWsp, SetWspMdArg tArg)

Parameters

tWsp. Moniker of opened workspace instance.

tArg. Operation execution parameters.

Description

The SetWspMd operation changes workspace.

Comments

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.

Example

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:

Working with Workspace