DirectShape.IsSupportedDocument
Method
Description:
Tests whether a DirectShape or a DirectShapeType may be created in this document.
Tests whether a DirectShape or a DirectShapeType may be created in this document.
Remarks:
Some types of Document, such as 2D families, can't support DirectShape functionality.
Some types of Document, such as 2D families, can't support DirectShape functionality.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | Document to be tested. |
Return Value
Type | Description |
---|---|
Boolean | True if a DirectShape or a DirectShapeType object can be created in this document, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |