DirectShape.SetTypeId
Method
Description:
Sets the DirectShapeType for the DirectShape element.
Sets the DirectShapeType for the DirectShape element.
Parameters
| Parameter | Type | Description |
|---|---|---|
| typeId | ElementId | The ID of the type corresponding to this DirectShape element. May only be set once. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | typeId is not a valid Element identifier. |
| ArgumentNullException | A non-optional argument was null |