DxfImage
Contents
[
Hide
]Inheritance: java.lang.Object, CadImage
Dxf image class
Constructors
| Constructor | Description |
|---|---|
| DxfImage() | Initializes a new instance of the DxfImage class. |
Methods
| Method | Description |
|---|---|
| assignHandle(CadBase cadBase) | Assigns next available object handle. |
| nextAvailableHandle() | Gets next available object handle |
| removeEntity(CadBaseEntity entity) | Removes entity. |
| addEntity(CadBaseEntity entity) | Adds entity. |
| addObject(CadBaseObject obj) | Adds enity. |
| removeObject(CadBaseObject obj) | Removes enity. |
DxfImage()
public DxfImage()
Initializes a new instance of the DxfImage class.
assignHandle(CadBase cadBase)
public final void assignHandle(CadBase cadBase)
Assigns next available object handle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| cadBase | CadBase | instance to add. |
nextAvailableHandle()
public final String nextAvailableHandle()
Gets next available object handle
Returns: String
removeEntity(CadBaseEntity entity)
public void removeEntity(CadBaseEntity entity)
Removes entity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| entity | CadBaseEntity | Entity to add. |
Throws:
com.aspose.ms.System.ArgumentNullException- Thrown when entity is nullcom.aspose.ms.System.NotSupportedException- Thrown if removing of the current entity is not implemented
addEntity(CadBaseEntity entity)
public final void addEntity(CadBaseEntity entity)
Adds entity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| entity | CadBaseEntity | Entity to add. |
Throws:
com.aspose.ms.System.ArgumentNullException- Thrown when entity is nullcom.aspose.ms.System.InvalidOperationException- Thrown if the current entity has been added beforecom.aspose.ms.System.NotSupportedException- Thrown if adding of the current entity is not implemented
addObject(CadBaseObject obj)
public final void addObject(CadBaseObject obj)
Adds enity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | CadBaseObject | Object to add. |
Throws:
com.aspose.ms.System.ArgumentNullException- Thrown when object is nullcom.aspose.ms.System.InvalidOperationException- Thrown if the current object has been added beforecom.aspose.ms.System.NotSupportedException- Thrown if adding of the current object is not implemented
removeObject(CadBaseObject obj)
public final void removeObject(CadBaseObject obj)
Removes enity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | CadBaseObject | Object to remove. |
Throws:
com.aspose.ms.System.ArgumentNullException- Thrown when object is nullcom.aspose.ms.System.NotSupportedException- Thrown if removing of the current object is not implemented