title: Determine if PDF searchable
body: <p>how to Determine/validate programmatically if the PDF is searchable or not, scanned pdf or not. I know some questions are the same but some not answered properly </p>
  
  <pre><code>  if (openPdfFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
          {
              string strfilename = openPdfFileDialog.FileName;
              pdfImageBox.Enabled = true;
              btnSave.Enabled = true;
              txt_Save.Enabled = true;
              btnAdd.Enabled = true;
              txtOcr1.Enabled = true;
              this.OpenPDF(openPdfFileDialog.FileName);
              ext.Text = strfilename;
              txt_Save.Text = ext.Text;
  
          }
  </code></pre>