public class DxfImage extends CadImage
Dxf image class
Constructor and Description |
---|
DxfImage()
Initializes a new instance of the
DxfImage class. |
Modifier and Type | Method and Description |
---|---|
void |
addEntity(CadBaseEntity entity)
Adds entity.
|
void |
addObject(CadBaseObject obj)
Adds enity.
|
void |
assignHandle(CadBase cadBase)
Assigns next available object handle.
|
String |
nextAvailableHandle()
Gets next available object handle
|
void |
removeEntity(CadBaseEntity entity)
Removes entity.
|
void |
removeObject(CadBaseObject obj)
Removes enity.
|
cacheData, fillBounds, getActivePage, getAppIdTables, getApplicationVersion, getBlockEntities, getBlocksTables, getBounds, getCadAcds, getClassEntities, getDefaultFont, getDefaultLineWeight, getDimensionStyles, getEntities, getFileEncoding, getHeader, getHeight, getLayers, getLayouts, getLineTypes, getMaintenanceVersion, getMaxPoint, getMinPoint, getObjects, getSectionsData, getSpecifiedEncoding, getSpecifiedMifEncoding, getStrings, getStyles, getThumbnailImage, getUCSs, getViewPorts, getViews, getWidth, isCached, removeEntityAt, setAppIdTables, setApplicationVersion, setBlockEntities, setBlocksTables, setCadAcds, setClassEntities, setDefaultFont, setDefaultLineWeight, setDimensionStyles, setEntities, setFileEncoding, setHeader, setLayers, setLineTypes, setMaintenanceVersion, setObjects, setSectionsData, setSpecifiedEncoding, setSpecifiedMifEncoding, setStyles, setThumbnailImage, setUCSs, setViewPorts, setViews, updateSize, updateSize
canLoad, canLoad, canLoad, canLoad, canSave, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getUnitlessDefaultUnitType, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalette
public DxfImage()
Initializes a new instance of the DxfImage
class.
public final void assignHandle(CadBase cadBase)
Assigns next available object handle.
cadBase
- instance to add.public final String nextAvailableHandle()
Gets next available object handle
public void removeEntity(CadBaseEntity entity)
Removes entity.
removeEntity
in class CadImage
entity
- Entity to add.com.aspose.ms.System.ArgumentNullException
- Thrown when entity is nullcom.aspose.ms.System.NotSupportedException
- Thrown if removing of the current entity is not implementedpublic final void addEntity(CadBaseEntity entity)
Adds entity.
entity
- Entity to add.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 implementedpublic final void addObject(CadBaseObject obj)
Adds enity.
obj
- Object to add.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 implementedpublic final void removeObject(CadBaseObject obj)
Removes enity.
obj
- Object to remove.com.aspose.ms.System.ArgumentNullException
- Thrown when object is nullcom.aspose.ms.System.NotSupportedException
- Thrown if removing of the current object is not implemented