Loading...

CreateThumbnailHQ

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

CreateThumbnailHQ

Postby Joseph » Fri Feb 29, 2008 4:37 pm

When using CreateThumbnailHQ on a multi-page tiff, it always seems to return the first page of the document. Please give some sample code about how to use this function.

Thanks
Joseph
 
Posts: 2
Joined: Fri Feb 29, 2008 4:16 pm

Re: CreateThumbnailHQ

Postby Loïc » Sun Mar 02, 2008 1:44 pm

Hi,

A thumbnail is a small single page bitmap.

if you want to create thumbnails of all pages of your multipage tiff file you need to select first the desired page using the TiffSelectPage() method and call the CreateThumbnailHQ() method.

Ie:

Code: Select all
object.TiffSelectPage (2)
nThumbnailImage = object.CreateThumbnailHQ (nMultiPageTiffImage, 200, 200)



Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest