Copy to Device context

Discussions about document viewing.
Post Reply
glentek
Posts: 5
Joined: Sat Jun 16, 2007 2:37 am

Copy to Device context

Post by glentek » Mon Jun 18, 2007 4:43 am

I need to copy (or paint) the first page of a loaded multipage PDF to the device context of another control (VSPrinter). I am doing this in VB6. Is there a method that supports this with GdViewer? Thanks.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Mon Jun 18, 2007 11:07 am

This is only possible with GdPicture or GdPicture Pro.

Regards,

Loïc

glentek
Posts: 5
Joined: Sat Jun 16, 2007 2:37 am

Post by glentek » Mon Jun 18, 2007 7:25 pm

OK. I'll download GDPicture for evaluation. Can you tell me what method I'll use to do this, or will it be self-evident? Thanks for your response!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Mon Jun 18, 2007 7:37 pm

You have to use the DisplayImageOnHDC() method:


https://gdpicture.com/references/gdpictu ... OnHDC.html


Best regards,

Loïc Carrère

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest