ByteScout PDF SDK - VBScript and VB6 - Add 3D Annotation in PDF - ByteScout

ByteScout PDF SDK – VBScript and VB6 – Add 3D Annotation in PDF

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – VBScript and VB6 – Add 3D Annotation in PDF

How to add 3d annotation in PDF in VBScript and VB6 and ByteScout PDF SDK

Tutorial on how to add 3d annotation in PDF in VBScript and VB6

These source code samples are listed and grouped by their programming language and functions they use. ByteScout PDF SDK: 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 add 3d annotation in PDF in VBScript and VB6.

The SDK samples like this one below explain how to quickly make your application do add 3d annotation in PDF in VBScript and VB6 with the help of ByteScout PDF SDK. Just copy and paste the code into your VBScript and VB6 application’s code and follow the instruction. Code testing will allow the function to be tested and work properly with your data.

Trial version of ByteScout PDF SDK can be downloaded for free from our website. It also includes source code samples for VBScript and VB6 and other programming languages.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ThreeDAnnotation.vbs
      
' This example demonstrates how to create 3D annotation. ' 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 3D annotation from .u3d file Set model = comHelpers.CreateThreeDData("box.u3d") Set annotation = comHelpers.CreateThreeDAnnotation((model), 100, 100, 200, 200) page1.Annotations.Add(annotation) ' 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

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