Packages

 

com.aspose.cad.fileformats.cad

Class DxfImage

    • Constructor Detail

      • DxfImage

        public DxfImage()

        Initializes a new instance of the DxfImage class.

    • Method Detail

      • assignHandle

        public final void assignHandle(CadBase cadBase)

        Assigns next available object handle.

        Parameters:
        cadBase - instance to add.
      • nextAvailableHandle

        public final String nextAvailableHandle()

        Gets next available object handle

      • removeEntity

        public void removeEntity(CadBaseEntity entity)

        Removes entity.

        Overrides:
        removeEntity in class CadImage
        Parameters:
        entity - Entity to add.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when entity is null
        com.aspose.ms.System.NotSupportedException - Thrown if removing of the current entity is not implemented
      • addEntity

        public final void addEntity(CadBaseEntity entity)

        Adds entity.

        Parameters:
        entity - Entity to add.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when entity is null
        com.aspose.ms.System.InvalidOperationException - Thrown if the current entity has been added before
        com.aspose.ms.System.NotSupportedException - Thrown if adding of the current entity is not implemented
      • addObject

        public final void addObject(CadBaseObject obj)

        Adds enity.

        Parameters:
        obj - Object to add.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when object is null
        com.aspose.ms.System.InvalidOperationException - Thrown if the current object has been added before
        com.aspose.ms.System.NotSupportedException - Thrown if adding of the current object is not implemented
      • removeObject

        public final void removeObject(CadBaseObject obj)

        Removes enity.

        Parameters:
        obj - Object to remove.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when object is null
        com.aspose.ms.System.NotSupportedException - Thrown if removing of the current object is not implemented