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

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.

Try ByteScout PDF To HTML SDK today: Get 60 Day Free Trial or sign up for Web API

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

Try ByteScout PDF To HTML SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout PDF To HTML SDK page

Explore ByteScout PDF To HTML SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next