We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Difference between ConvertErrorAction.Delete and ConvertErrorAction.None


I would like to know in detail what the difference is between ConvertErrorAction.Delete and ConvertErrorAction.None.

For example :
pdfDocument.Convert("log.xml", PdfFormat.PDF_A_1B, ConvertErrorAction.Delete)

I have looked at the documentation but it only says - "action Action for objects that can not be converted".

If i choose Delete will objects that can not be converted deleted from the output pdf that is produced? etc

Hi Erik,

Thanks for your inquiry. We are looking into your query and will get back to you soon.

Best Regards,

Hi Erik,

Thanks for your patience. The ConvertErrorAction enum values indicate the action for objects which cannot be converted as following

ConvertErrorAction.Delete: Delete objects that impossible to convert
ConvertErrorAction.None: Take no action against objects which cannot be converted.

Please feel free to contact us for any further assistance.

Best Regards,
Hi Tilal,

Thank you for the answer.