I have your community edition downloaded and I am playing with it to see if it will meet our needs. Is there a way I can place one image from the multipage tiff at a time onto the document. Only the Getdocument function appears to work. And that gets all the images.
I am planning to use the multi-tiff to arrange the images on the document in either portrait or landscape (by resizing and rotating) the image on the pdf.
Thanks,
Brad
MultiPage Tiffs
Re: MultiPage Tiffs
Support · Mar 27, 2006Hello Brad,
Yes, you can get any image from the multipage Tiff file without any problem using the GetImage(ImageNumber) method of the TiffFile object. Following is the sample code:
Set MyTiffObj = Server.CreateObject( "DynamicPDF.TiffFile" )
MyTiffObj.LoadTiff( Server.MapPath( "Images/fw9_03.tif" ) )
Set MyImage = MyTiffObj.GetImage(1)
Set MyPage = MyDocument.AddPage()
MyPage.AddImage MyImage, 0, 0
Thanks,
ceTe Software Support Team