ByteScout PDF SDK - VB.NET - Flatten PDF Form - 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 SDK – VB.NET – Flatten PDF Form

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – VB.NET – Flatten PDF Form

flatten PDF form in VB.NET and ByteScout PDF SDK

Write code in VB.NET to make flatten PDF form with this How-To tutorial

Source code documentation samples provide quick and easy way to add a required functionality into your application. ByteScout PDF SDK helps with flatten PDF form in VB.NET. ByteScout PDF SDK is the library for pdf documents generation, modification and updates. Can also generate and fill PDF forms. Provides support for text (fonts, style, size, font family), layers, pdf form fields, vector and raster drawings.

This rich sample source code in VB.NET for ByteScout PDF SDK includes the number of functions and options you should do calling the API to implement flatten PDF form. In order to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Enjoy writing a code with ready-to-use sample VB.NET codes to implement flatten PDF form using ByteScout PDF SDK.

On our website you may get trial version of ByteScout PDF SDK for free. Source code samples are included to help you with your VB.NET application.

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.PDF ''' <summary> ''' This example demonstrates how to flatten a filled PDF form (make it uneditable). ''' </summary> Class Program Shared Sub Main() ' Load filled PDF form Dim pdfDocument = New Document("filled_form.pdf") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Flatten the form pdfDocument.FlattenDocument() ' Save modified document pdfDocument.Save("result.pdf") ' Cleanup pdfDocument.Dispose() ' Open document in default PDF viewer app Process.Start("result.pdf") End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF SDK Home Page

Explore ByteScout PDF SDK Documentation

Explore Samples

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

Explore ByteScout PDF SDK Documentation

Explore Samples

Sign Up for ByteScout PDF SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next