Skip to main content
Participant
July 23, 2016
Question

Need to get a document thumbnail

  • July 23, 2016
  • 1 reply
  • 264 views

G'dday!!

I'm a programmer in XBase++ and I'm stucked with this issue: I need to get the graphic thumbnail of any document I load the program, such in my code (the real part):

     oAcrobat := XbpActiveXControl():new( oBitmapRef )

     oAcrobat:CLSID  := "{CA8A9780-280D-11CF-A24D-444553540000}"

     oAcrobat:create(,, {4,4}, {230,270} )

     oAcrobat:LoadFile( cNomArc )

     oBitmapRef:setData( oAcrobat:ExtractImage() )

     oBitmapRef:draw()

     oAcrobat:Destroy()

In bolded red, the method I thought to be the one to get me the thumbnail, BUT as you can guess, isn't working as I need. Wich would be the method to get ONE image of the document as a thumbnail to show to the user? Is there any other (easy) way to get it?

Thanks in advance...

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 25, 2016

This forum is about JavaScript in Acrobat/Reader. You need to look for a forum/mailing-list about this library you're using.