TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Coder on November 06, 2019, 05:40:48 AM
-
Hello everyone.
How can I dump a PDF file to know the available methods and properties with getfiled function?
(setq pdf (getfiled "" "" "pdf" 16))
I have seen the below function to create a PDF object but it returns nil for me.
(setq obj (vlax-get-or-create-object "AcroExch.PDDoc"))
Thank you in advance.
-
I need to get the number of pages / sheets of the selected PDF file.
Is this possible?
-
I need to get the number of pages / sheets of the selected PDF file.
Is this possible?
This (https://www.theswamp.org/index.php?topic=39001.msg441632#msg441632) is pretty old now, but may still work.
-
This (https://www.theswamp.org/index.php?topic=39001.msg441632#msg441632) is pretty old now, but may still work.
Beautiful.
Thank you Lee so much.
-
This (https://www.theswamp.org/index.php?topic=39001.msg441632#msg441632) is pretty old now, but may still work.
Grazie Lee. :)
-
You need to install Adobe Acrobat Reader or Pro/DC to have access to "AcroExch.PDDoc"
-
You need to install Adobe Acrobat Reader or Pro/DC to have access to "AcroExch.PDDoc"
I already have it installed although it returns nil ! :-(
-
try to run (vlax-get-or-create-object "AcroExch.App") first before run (vlax-get-or-create-object "AcroExch.PDDoc").
-
try to run (vlax-get-or-create-object "AcroExch.App") first before run (vlax-get-or-create-object "AcroExch.PDDoc").
It returns nil.
$ (vlax-get-or-create-object "AcroExch.App")
nil
_$
-
Hello~ may i ask did you solve the problem anyway~ i came across the same situation lately.... thx
try to run (vlax-get-or-create-object "AcroExch.App") first before run (vlax-get-or-create-object "AcroExch.PDDoc").
It returns nil.
$ (vlax-get-or-create-object "AcroExch.App")
nil
_$