com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class SaveOptions

    • Constructor Detail

      • SaveOptions

        public SaveOptions()
    • Method Detail

      • getWarningHandler

        public IWarningCallback getWarningHandler()

        Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

        Returns:
        IWarningCallback value
      • setWarningHandler

        public void setWarningHandler(IWarningCallback value)

        Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

        Parameters:
        value - IWarningCallback value
      • getSaveFormat

        public int getSaveFormat()

        Format of data save.

        Returns:
        SaveFormat value
        See Also:
        SaveFormat
      • isCloseResponse

        public boolean isCloseResponse()

        Gets boolean value which indicates will Response object be closed after document saved into response.

        Returns:
        boolean value
      • setCloseResponse

        public void setCloseResponse(boolean value)

        Sets boolean value which indicates will Response object be closed after document saved into response.

        Parameters:
        value - boolean value