DirectShapeLibrary.FindDefinitionType
Method
Description:
Find a DirectShapeType element by definition id. The element will be used for creating instances of that definition.
Find a DirectShapeType element by definition id. The element will be used for creating instances of that definition.
Parameters
Parameter | Type | Description |
---|---|---|
id | String | Definition id. Expected to be unique. |
Return Value
Type | Description |
---|---|
ElementId | Element id of a DirectShapeTypeElement |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |