ByteScout Premium Suite - VB.NET - Set pdf document information with pdf sdk - ByteScout

ByteScout Premium Suite – VB.NET – Set pdf document information with pdf sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VB.NET – Set pdf document information with pdf sdk

How to set pdf document information with pdf sdk in VB.NET with ByteScout Premium Suite

Step-by-step tutorial on how to set pdf document information with pdf sdk in VB.NET

The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to set pdf document information with pdf sdk using VB.NET.

Want to quickly learn? This fast application programming interfaces of ByteScout Premium Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to set pdf document information with pdf sdk. Follow the instructions from scratch to work and copy the VB.NET code. Applying VB.NET application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.

You can download free trial version of ByteScout Premium Suite from our website to see and try many others source code samples for VB.NET.

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 set various document properties. ''' </summary> Class Program Shared Sub Main() ' Create new document Dim pdfDocument = New Document() pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Add page pdfDocument.Pages.Add(New Page(PaperFormat.A4)) ' Change document information. ' Open Document Properties in PDF viewer to see the changes. pdfDocument.DocumentInfo.Author = "John Doe" pdfDocument.DocumentInfo.Creator = "My Application" pdfDocument.DocumentInfo.Keywords = "accounting,invoice" pdfDocument.DocumentInfo.Title = "Invoice #12345" pdfDocument.DocumentInfo.Subject = "Invoice" pdfDocument.DocumentInfo.CreationDate = New DateTime(2015, 12, 21) pdfDocument.DocumentInfo.ModificationDate = DateTime.Now ' Save document to file 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 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