2027 Method
Changes 0
M

DirectShape.IsSupportedDocument

Description:
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.
public static bool IsSupportedDocument(
	Document document
)
  • document
    Document to be tested.
Return Value Boolean True if a DirectShape or a DirectShapeType object can be created in this document, false otherwise.