I have seen the condition if (srcDoc == destinationDoc) in the Adam’s code ImportDocumentDifferentStylesOnly shared in this thread Aspose.Words - There are too many styles in the document.
I just want to know when we use == operator for comparing the document objects actually what we are comparing. I mean is it comparing in-memory representation or reference or something else.
Thanks for you reply. I’m not able to understand the check.
if (srcDoc == mDstDoc)
srcDoc = srcDoc.deepClone();
Could you please explain what this check is doing?