title: iTextsharp - Get rotation of pdf page in C#
body: <p>i am trying to get/read rotation/degree of pdf page in c# using iTextsharp. i googled fully but nothing i found except below:</p>
  
  <pre><code>iTextSharp.text.pdf.PdfReader inputPdf = new iTextSharp.text.pdf.PdfReader(txtBrowse.Text);
  int rotation = inputPdf.GetPageRotation(PageNo);
  label1.Text = Convert.ToString(rotation);
  </code></pre>
  
  <p>the above code does not return properly.</p>
  
  <p>Please help me to get the rotation of the pdf page in c#.</p>