com.aspose.page

Class Document

  • Direct Known Subclasses:
    PsDocument, XpsDocument


    public abstract class Document
    extends Object

    A superclass for all encapsulated documents.

    • Constructor Detail

      • Document

        public Document()
    • Method Detail

      • save

        public abstract void save(Device device,
                                  SaveOptions options)
                           throws Exception

        Saves this document to a device.

        Parameters:
        device - An output device.
        options - An options.
        Throws:
        Exception
      • isLicensed

        public boolean isLicensed()

        Indicates whether Aspose.Page for Java product license is accessed and valid.

        Returns:
        boolean value