Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Add description to PDF attachment

New Here ,
Feb 17, 2016 Feb 17, 2016

Using vb.net:

I can add a PDF as an attachment (importDataObject) to a PDF, and add a button that opens it.

I would like to add a description to the newly added DataObject.

The JavaScript reference goes along the lines of:

var mydataobject = this.getDataObject("AttachedPDF");

mydataobject.description = "What is the attachment";

translating this to vb.net:

     dim jso = pddoc.GetJSObject

     dim mydataobject = jso.getdataobject("AttachedPDF")

     mydataobject.description = "What is the attachment"

throws an error: "Public member 'description' on type '_ComObject' not found."

Can this be easily added?

Dave

TOPICS
Acrobat SDK and JavaScript
375
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation