After a measurement

Community Beginner ,
Jun 30, 2019

Copy link to clipboard

Copied

Is there a way with Javascript to invoke  this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true});  just after a measurement is finished? So the info is added to the file at that moment. For document-level script (would rather have it as file-level script but that is not possible).

if (condition) {
 

     this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true});

     }

TOPICS
Acrobat SDK and JavaScript, Windows

Views

72

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

After a measurement

Community Beginner ,
Jun 30, 2019

Copy link to clipboard

Copied

Is there a way with Javascript to invoke  this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true});  just after a measurement is finished? So the info is added to the file at that moment. For document-level script (would rather have it as file-level script but that is not possible).

if (condition) {
 

     this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true});

     }

TOPICS
Acrobat SDK and JavaScript, Windows

Views

73

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 30, 2019 0
Most Valuable Participant ,
Jun 30, 2019

Copy link to clipboard

Copied

No, and you're code is still incorrect. Please use it as I've provided in your other thread, EXACTLY.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 30, 2019 0
Community Beginner ,
Jun 30, 2019

Copy link to clipboard

Copied

Oh sorry I was too tired with googling for the answer for this question and copied it thoughtlessly from my previous initial post.

A pity it is not possible on document level, maybe someday it is.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 30, 2019 0