Method CreateAxisWithExtent
CreateAxisWithExtent(DocumentId, Axis2D, double, double)
Creates an axis entity with specified extent in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 100)]
ElementId CreateAxisWithExtent(DocumentId inDocumentId, Axis2D inGeometry, double inXMin, double inXMax)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| Axis2D | inGeometry | Axis geometry. |
| double | inXMin | Minimum X axis coordinate of extent. |
| double | inXMax | Maximum X axis coordinate of extent. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created axis entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.7.201.100.