ByteScout PDF Suite - VB.NET - Reduce memory usage during pdf to html conversion with pdf to html sdk - ByteScout

ByteScout PDF Suite – VB.NET – Reduce memory usage during pdf to html conversion with pdf to html sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – VB.NET – Reduce memory usage during pdf to html conversion with pdf to html sdk

How to reduce memory usage during pdf to html conversion with pdf to html sdk in VB.NET and ByteScout PDF Suite

How to write a robust code in VB.NET to reduce memory usage during pdf to html conversion with pdf to html sdk with this step-by-step tutorial

The code displayed below will guide you to install an VB.NET app to reduce memory usage during pdf to html conversion with pdf to html sdk. ByteScout PDF Suite is the set that includes 6 SDK products to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript and you can use it to reduce memory usage during pdf to html conversion with pdf to html sdk with VB.NET.

The SDK samples given below describe how to quickly make your application do reduce memory usage during pdf to html conversion with pdf to html sdk in VB.NET with the help of ByteScout PDF Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Use of ByteScout PDF Suite in VB.NET is also described in the documentation included along with the product.

ByteScout provides the free trial version of ByteScout PDF Suite along with the documentation and source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.vb
      
Imports Bytescout.PDF2HTML Class Program Friend Shared Sub Main(args As String()) ' When processing huge PDF documents you may run into OutOfMemoryException. ' This example demonstrates a way to spare the memory by disabling page data caching. ' Create Bytescout.PDF2HTML.HTMLExtractor instance Using extractor As New HTMLExtractor("demo", "demo") Try ' Load sample PDF document extractor.LoadDocumentFromFile("sample2.pdf") ' Disable page data caching, so processed pages will be disposed automatically extractor.PageDataCaching = PageDataCaching.None ' Save result to file extractor.SaveHtmlToFile("output.html") Catch exception As PDF2HTMLException Console.Write(exception.ToString()) End Try End Using ' Open the output file in default associated application System.Diagnostics.Process.Start("output.txt") End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next