Pdf compare compression using Aspose words

How to ignore specific text boxes (IgnoreTextboxes) or specific text using aspose.words

@gauravgarg04 Please see CompareOptions class to learn what documents elements can be ignored upon comparing documents.

Also, please note, Aspose.Words is designed to work with MS Word documents. MS Word documents are flow documents and they have structure very similar to Aspose.Words Document Object Model. But on the other hand PDF documents are fixed page format documents. While loading PDF document, Aspose.Words converts Fixed Page Document structure into the Flow Document Object Model. Unfortunately, such conversion does not guaranty 100% fidelity.

Regarding PDF document comparison using Aspose.Words, though PDF document might look the same visually, their structure might be different, that leads into the different DOM build by Aspose.Words and as a result the differences in document comparison. Aspose.Words comparison works similar to MS Word document compare feature. Which compares more internal document representation than the visual document appearance.

@alexey.noskov
In compare option there is option to ignore text (i.e. IgnoreTextboxes)
But it ignore all text boxes
Is there way to ignore specific text boxes ?

@gauravgarg04 No unfortunately, there is no way to ignore specific text box or other specific node upon comparing documents.