How to access an object's properties with JavaScript ?

this.getObjectData() gives null, so it seems that the properties are not objectdata. Any ideas ?

Taking a step backwards,
How to access content (shapes, text) within a PDF using JavaScript ?

Info: can see object data using the "Object Data Tool" in the Model Tree pane.

Info: properties originated from Visio Shape Custom Properties.

Can post an example PDF


Jack Boy


1 Answer

Do you see a getObjectData method documented anywhere? The is a getDataObject, but that's for dealing with file attachments.

JavaScript provides very little means to access regular page contents. What's available is pretty much limited to text (e.g., getPageNthWord, getPageNthWordQuads).


George Johnson   


Please specify a reason: