com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class DwgFormat

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public final class DwgFormat
    extends FormatBase

    Represents binary DWG format.


    DWG (drawing) is native format for several CAD packages.

    • Constructor Detail

      • DwgFormat

        public DwgFormat(String fileName)

        Initializes a new instance of the DwgFormat class.

        Parameters:
        fileName - Absolute path to the file.
      • DwgFormat

        public DwgFormat(InputStream input)

        Initializes a new instance of the DwgFormat class.

        Parameters:
        input - File stream.
    • Method Detail

      • getType

        public int getType()

        Gets document type.

        Specified by:
        getType in class FormatBase
        Returns:
        Document type.
      • cleanMetadata

        public void cleanMetadata()

        Removes metadata. Not supported for current format.


        This feature is not available in trial mode.

        Overrides:
        cleanMetadata in class FormatBase
      • getDwgMetadata

        public final CadMetadata getDwgMetadata()

        Retrieves the DWG metadata.

        Returns:
        CadMetadata