com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ImageDeleteAction

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.pdf.ImageDeleteAction


  • public final class ImageDeleteAction
    extends com.aspose.ms.System.Enum

    Action which performed with image object when image is removed from collection. If image object is removed

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Check
      Image will be removed from the collection and image object will be removed only if no other references to the image from other pages.
      static int ForceDelete
      Image will be removed from the collection and image object will be removed from the document.
      static int KeepContents
      Image will be removed from the collection.
      static int None
      Image will be removed from the collection and from page contents, but image object will not be deleted.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • KeepContents

        public static final int KeepContents

        Image will be removed from the collection. If page contents contains references to the image they will not be removed. Document may became invalid.

        See Also:
        Constant Field Values
      • None

        public static final int None

        Image will be removed from the collection and from page contents, but image object will not be deleted. File size will not be decreased.

        See Also:
        Constant Field Values
      • ForceDelete

        public static final int ForceDelete

        Image will be removed from the collection and image object will be removed from the document. If other references on the same object exist the document may be corrupted.

        See Also:
        Constant Field Values
      • Check

        public static final int Check

        Image will be removed from the collection and image object will be removed only if no other references to the image from other pages. This may require more time in comparision with ForeDelete option.

        See Also:
        Constant Field Values