简体   繁体   中英

open an attached pdf on click of a part in 3d model… Acrobat javascript

I want to open an attached pdf when I click on a part of 3d model. When I try

host.exportDataObject({ cName: "MindSphere_GettingStarted.pdf", nLaunch: 2 });

it throws an error

TypeError: Invalid argument type.
Doc.exportDataObject:0:Doc undefined:Exec
===> Parameter cName.Line:

Object don't pass well across the 3D JavaScript engine and the host. Try this instead

host.exportDataObject("MindSphere_GettingStarted.pdf", null, false, 2);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM