Author Topic: Get Methods and Properties of PDF file  (Read 151 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 774
Get Methods and Properties of PDF file
« 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?

Code: [Select]
(setq pdf (getfiled "" "" "pdf" 16))

I have seen the below function to create a PDF object but it returns nil for me.

Code: [Select]
(setq obj (vlax-get-or-create-object "AcroExch.PDDoc"))

Thank you in advance.

Coder

  • Swamp Rat
  • Posts: 774
Re: Get Methods and Properties of PDF file
« Reply #1 on: November 06, 2019, 01:24:08 PM »
I need to get the number of pages / sheets of the selected PDF file.

Is this possible?

Lee Mac

  • Seagull
  • Posts: 12282
  • London, England
Re: Get Methods and Properties of PDF file
« Reply #2 on: November 06, 2019, 01:25:30 PM »
I need to get the number of pages / sheets of the selected PDF file.

Is this possible?

This is pretty old now, but may still work.

Coder

  • Swamp Rat
  • Posts: 774
Re: Get Methods and Properties of PDF file
« Reply #3 on: November 06, 2019, 01:47:50 PM »
This is pretty old now, but may still work.

Beautiful.
Thank you Lee so much.

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1001
  • Marco
Re: Get Methods and Properties of PDF file
« Reply #4 on: November 07, 2019, 03:50:53 AM »
This is pretty old now, but may still work.
Grazie Lee.  :)