These documents are originally landscape documents. PDF express identifies these documents as rotated documents. PDF express creates Metrix differently for these types of documents
I need to keep the annotation without rotating no matter what the page rotation is. This is urgent since clients are waiting for a solution. Please help
Also, when we use getRotation(PageNumber); it returns 0. But when we use getCompleteRotation(pageNumber); it returns 1
Regarding the getRotation() and getCompleteRotation()
getRotation is the current viewing rotation, you can temporarily rotate the document for viewing purposes without saving it into the document. This is why it is 0 (0 degrees), because you have not rotated the document in the viewer.
getCompleteRotation is the document’s actual rotation, which has been saved into the document’s internals. It returns 1 (90 degrees) because the document’s metadata says it is 90 degrees.
In the case of the FreeTexts rendering incorrectly, it seems like the annotation’s text is rotating based on the document’s internal rotation. Try setting: