title: Read Check Box, Radio Button Name and values from PDF using iText Sharp
body: <p>I have a fillable PDF contains CheckBoxes and RadioButtons and TextBox.</p>
  
  <p>How do i get the CheckBox Name and its value also how do we know that it is a checkbox / Radio Button?</p>
  
  <p>i'm using iTextSharp and have look at my below code</p>
  
  <pre><code> PdfReader pdfReader = new PdfReader(FileName);
   pdfReader.SelectPages("37");
          MemoryStream oStream = new MemoryStream();
          PdfStamper stamper = new PdfStamper(pdfReader, oStream);
          AcroFields form = stamper.AcroFields;
          if (form.Fields.Count() &gt; 0)
          {
              IDictionary&lt;string,AcroFields.Item&gt; oDic= form.Fields;
  
              foreach (string FieldName in oDic.Keys)
              {
                  //FieldName - CheckBox name; i need to confirm that is a Checkbox...
              }
  
              foreach (AcroFields.Item oItem in oDic.Values)
              {
                  // how do we get check box values
              }
          }
  </code></pre>