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.

Try it today: Get 60 Day Free Trial or sign up for Web API

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

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF SDK page

Explore ByteScout PDF SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next