<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: ITEXT SHARP CODE- EXTRACT PDF in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77107#M29437</link>
    <description>Hi Himadri,&lt;BR /&gt;&lt;BR /&gt;Our free VBO uses iTextSharp.dll to handle basic PDF actions. You can download from &lt;A href="https://digitalexchange.blueprism.com/dx/entry/117528/solution/sabancidx---daily-pdf-actions" target="_blank" rel="noopener"&gt;DigitalExchange&lt;/A&gt; to use directly or investigate the code.&lt;BR /&gt;&lt;BR /&gt;Happy automation!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Taha Sonmez&lt;BR /&gt;ROM Architect&lt;BR /&gt;SabanciDx&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Nov 2021 15:32:00 GMT</pubDate>
    <dc:creator>TahaSonmez</dc:creator>
    <dc:date>2021-11-18T15:32:00Z</dc:date>
    <item>
      <title>ITEXT SHARP CODE- EXTRACT PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77105#M29435</link>
      <description>try {&lt;BR /&gt;PdfReader reader = new PdfReader(source_file);&lt;BR /&gt;PdfReaderContentParser parser = new PdfReaderContentParser(reader);&lt;BR /&gt;FileStream fs = new FileStream(destination_file_path+"//"+destination_file_name+".txt",FileMode.Create);&lt;BR /&gt;StreamWriter sw=new StreamWriter(fs);&lt;BR /&gt;SimpleTextExtractionStrategy strategy;&lt;BR /&gt;for (int i = 1; i &amp;lt;= reader.NumberOfPages; i++) {&lt;BR /&gt;strategy = parser.ProcessContent(i, new SimpleTextExtractionStrategy());&lt;BR /&gt;var s = strategy.GetResultantText();&lt;BR /&gt;&lt;BR /&gt;sw.WriteLine(strategy.GetResultantText());&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;sw.Flush();&lt;BR /&gt;sw.Close();&lt;BR /&gt;Contents = File.ReadAllText(destination_file_path+"//"+destination_file_name+".txt");&lt;BR /&gt;Success = true;&lt;BR /&gt;Message ="No Error";&lt;BR /&gt;}&lt;BR /&gt;catch ( Exception caughtEx )&lt;BR /&gt;{&lt;BR /&gt;Message = caughtEx.Message;&lt;BR /&gt;Contents = "";&lt;BR /&gt;Success = false;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;HIMADRI KHETO&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2021 10:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77105#M29435</guid>
      <dc:creator>HIMADRIKHETO</dc:creator>
      <dc:date>2021-11-08T10:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: ITEXT SHARP CODE- EXTRACT PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77106#M29436</link>
      <description>You might want to ensure you're also checking for password protected files. I've been working on building a group of items that works using the latest itextsharp dll.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tracy Schultz&lt;BR /&gt;Weaver LLC&lt;BR /&gt;TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2021 15:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77106#M29436</guid>
      <dc:creator>TracySchultz</dc:creator>
      <dc:date>2021-11-08T15:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: ITEXT SHARP CODE- EXTRACT PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77107#M29437</link>
      <description>Hi Himadri,&lt;BR /&gt;&lt;BR /&gt;Our free VBO uses iTextSharp.dll to handle basic PDF actions. You can download from &lt;A href="https://digitalexchange.blueprism.com/dx/entry/117528/solution/sabancidx---daily-pdf-actions" target="_blank" rel="noopener"&gt;DigitalExchange&lt;/A&gt; to use directly or investigate the code.&lt;BR /&gt;&lt;BR /&gt;Happy automation!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Taha Sonmez&lt;BR /&gt;ROM Architect&lt;BR /&gt;SabanciDx&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2021 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/ITEXT-SHARP-CODE-EXTRACT-PDF/m-p/77107#M29437</guid>
      <dc:creator>TahaSonmez</dc:creator>
      <dc:date>2021-11-18T15:32:00Z</dc:date>
    </item>
  </channel>
</rss>

