ByteScout PDF To HTML SDK - VB.NET - Reduce Memory Usage During PDF to HTML Conversion - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout PDF To HTML SDK – VB.NET – Reduce Memory Usage During PDF to HTML Conversion

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF To HTML SDK – VB.NET – Reduce Memory Usage During PDF to HTML Conversion

How to reduce memory usage during PDF to HTML conversion in VB.NET using ByteScout PDF To HTML SDK

How to code in VB.NET to reduce memory usage during PDF to HTML conversion with this step-by-step tutorial

Learn how to reduce memory usage during PDF to HTML conversion in VB.NET with this source code sample. Want to reduce memory usage during PDF to HTML conversion in your VB.NET app? ByteScout PDF To HTML SDK is designed for it. ByteScout PDF To HTML SDK is the SDK for PDF to HTML conversin. Generates static HTML output from source PDF and re-creates all visual layout, text positions, vector and raster drawings, images, and form elements. Generated HTML requires can be viewed in any Internet browser with no other software or plugins required.

VB.NET code samples for VB.NET developers help to speed up coding of your application when using ByteScout PDF To HTML SDK. In your VB.NET project or application you may simply copy & paste the code and then run your app! You can use these VB.NET sample examples in one or many applications.

Trial version of ByteScout PDF To HTML SDK can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.

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 To HTML SDK Home Page

Explore ByteScout PDF To HTML SDK Documentation

Explore Samples

Sign Up for ByteScout PDF To HTML SDK 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 To HTML SDK Home Page

Explore ByteScout PDF To HTML SDK Documentation

Explore Samples

Sign Up for ByteScout PDF To HTML SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next