com.aspose.eps

Class Ps2PdfConverter



  • public class Ps2PdfConverter
    extends Object

    This class converts PS/EPS files to PDF documents.

    • Constructor Detail

      • Ps2PdfConverter

        public Ps2PdfConverter()

        Initializes new instance of Ps2PdfConverter.

    • Method Detail

      • convertToPdf

        public void convertToPdf(Ps2PdfConverterOptions options)
                          throws Exception

        Converts PS/EPS file to PDF document

        Parameters:
        options - Contains input and output streams, page size and flags that specify output of errors thrown during conversion.
        Throws:
        Exception - Any exception thrown while conversion.
      • getNumberOfPages

        public int getNumberOfPages()

        Returns a quantity of pages in resulting PDF document.

        Returns:
        OutputStream object.
      • isLicensed

        public boolean isLicensed()

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

        Returns:
        boolean value