ByteScout Premium Suite - VB.NET - Render part of pdf page with pdf renderer sdk - ByteScout

ByteScout Premium Suite – VB.NET – Render part of pdf page with pdf renderer sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VB.NET – Render part of pdf page with pdf renderer sdk

How to render part of pdf page with pdf renderer sdk in VB.NET with ByteScout Premium Suite

Learn to code in VB.NET to render part of pdf page with pdf renderer sdk with this step-by-step tutorial

The sample source codes on this page shows how to render part of pdf page with pdf renderer sdk in VB.NET. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to render part of pdf page with pdf renderer sdk with VB.NET.

This prolific sample source code in VB.NET for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to render part of pdf page with pdf renderer sdk. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! If you want to use these VB.NET sample examples in one or many applications then they can be used easily.

Trial version of ByteScout Premium Suite is available for free. Source code samples are included to help you with your VB.NET app.

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.PDFRenderer Class Program Friend Shared Sub Main(args As String()) ' Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. Dim renderer As New RasterRenderer() renderer.RegistrationName = "demo" renderer.RegistrationKey = "demo" ' Set high quality resolution 600 dpi (600 dots per inch) Dim renderingResolution As Single = 600 ' Load PDF document. renderer.LoadDocumentFromFile("sample_table.pdf") ' Set extraction area renderer.SetExtractionArea(205.5f, 108.75f, 331.5f, 121.5f) ' Render part of document to PNG image file. renderer.Save({code}quot;result_{renderingResolution}.png", RasterImageFormat.PNG, 0, renderingResolution) ' Cleanup renderer.Dispose() ' Open the first output file in default image viewer. System.Diagnostics.Process.Start({code}quot;result_{renderingResolution}.png") End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium 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 Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next