We are rotating a particular page in the document. After rotation in output document, we observed that bookmark Table 5.1 (under study report tables bookmark) is navigating to page 43 instead of navigating to page 42. Please find input and output documents. Below is code used
public static void Pageorientation(String sourcePath, String OutputPath)
{
Document document = new Document(sourcePath);
document.Pages[42].Rotate = Rotation.None;
document.Save(OutputPath);
}
image.png (138.0 KB)
Output.pdf (1.6 MB)
input.pdf (1.6 MB)