Aspose::Pdf::ImageDeleteAction enum

ImageDeleteAction enum

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

enum class ImageDeleteAction

Values

NameValueDescription
KeepContents0Image will be removed from the collection. If page contents contains references to the image they will not be removed. Document may became invalid.
None1Image will be removed from the collection and from page contents, but image object will not be deleted. File size will not be decreased.
ForceDelete2Image 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.
Check3Image 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 ForceDelete option.

See Also