M

Create

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
Identical to 2027: 2025, 2025.3, 2026
Not present in: 2020
2027 current
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document Document to which the created element will be added.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document Document to which the created element will be added.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document Document to which the created element will be added.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.
DirectShapeType.Create(Document, String, ElementId, DirectShapeTypeOptions)
document Document Document to which the created element will be added.
name String Name of the DirectShapeType.
categoryId ElementId Id of the category assigned to this DirectShapeType. Must be a valid category id.
options DirectShapeTypeOptions Options that can be used to control the behavior of DirectShapeType being created.
→ returns DirectShapeType The new DirectShapeType.