DirectContext3DDocumentUtils.IsADirectContext3DHandleType
Method
Description:
Checks whether the provided Element ID corresponds to a DirectContext3D handle type element.
Checks whether the provided Element ID corresponds to a DirectContext3D handle type element.
Remarks:
DirectContext3D handle types are DirectShapeTypes.
Parameters
Parameter | Type | Description |
---|---|---|
aDocument | Document | The document. |
elementId | ElementId | The ID of the element to check. |
Return Value
Type | Description |
---|---|
Boolean | True, if the element is a valid DirectContext3D handle type, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | aDocument is not a project document. -or- elementId is not a valid Element identifier. |
ArgumentNullException | A non-optional argument was null |