The code below will help you to implement an VB.NET app to set PDF document information. What is ByteScout PDF SDK? It is the pdf library that can create, update and modify PDF files. Supports text with fonts and style selections, layers, form fields, drawing lines and objects, automatic tables, images. Can be used to create and fill pdf forms. It can help you to set PDF document information in your VB.NET application.
The SDK samples like this one below explain how to quickly make your application do set PDF document information in VB.NET with the help of ByteScout PDF SDK. In your VB.NET project or application you may simply copy & paste the code and then run your app! Use of ByteScout PDF SDK in VB.NET is also explained in the documentation included along with the product.
You can download free trial version of ByteScout PDF SDK 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)
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
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: