ByteScout simple and easy to understand tutorials are planned to describe the code for both VBScript beginners and advanced programmers. ByteScout PDF Suite can create pdf form with combobox with pdf sdk. It can be applied from VBScript. ByteScout PDF Suite is the set that includes 6 SDK products to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript.
This prolific sample source code in VBScript for ByteScout PDF Suite contains various functions and other necessary options you should do calling the API to create pdf form with combobox with pdf sdk. Just copy and paste the code into your VBScript application’s code and follow the instructions. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
' This example demonstrates how to create and decorate comboboxes. ' Create Bytescout.PDF.Document object Set pdfDocument = CreateObject("Bytescout.PDF.Document") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" Set comHelpers = pdfDocument.ComHelpers ' Add page Set page1 = comHelpers.CreatePage(comHelpers.PAPERFORMAT_A4) pdfDocument.Pages.Add(page1) ' Add dropdown box (not editable combobox) Set comboBox1 = comHelpers.CreateComboBox(20, 20, 150, 25, "comboBox1") comboBox1.Font.Size = 12 comboBox1.BorderColor = comHelpers.CreateColorRGB(0, 0, 128) comboBox1.BackgroundColor = comHelpers.CreateColorRGB(220, 220, 255) comboBox1.BorderWidth = 2 comboBox1.Text = "Select item" comboBox1.Items.Add("Item 1") comboBox1.Items.Add("Item 2") comboBox1.Items.Add("Item 3") page1.Annotations.Add(comboBox1) ' Add editable combobox Set comboBox2 = comHelpers.CreateComboBox(20, 50, 150, 25, "comboBox2") comboBox2.Editable = True comboBox2.Font.Size = 12 comboBox2.BorderColor = comHelpers.CreateColorRGB(0, 128, 0) comboBox2.BackgroundColor = comHelpers.CreateColorRGB(220, 255, 220) comboBox1.BorderWidth = 2 comboBox2.Text = "Editable ComboBox" comboBox2.Items.Add("Item 1") comboBox2.Items.Add("Item 2") comboBox2.Items.Add("Item 3") page1.Annotations.Add(comboBox2) ' Save document to file pdfDocument.Save("result.pdf") ' Open document in default PDF viewer app Set shell = CreateObject("WScript.Shell") shell.Run "result.pdf", 1, false
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: