I recently upgraded from version 5 to 9 and it seems it is no longer possible to convert a PDF into a GD native image from the GD Viewer.
In version 5 it was a simple matter of loading the image using DIsplayFromPdfFile, and then looping through the pages and calling CreateClonedImage off of the GdViewer's GetNativeImage.
Is this or something equivalent still possible with the Document Imaging toolkit?
Convert PDF to GD Native Image
Re: Convert PDF to GD Native Image
It has to be taken the other way around, the first step is to load your file into a GdPicturePDF object (or a GdPictureImaging, depending on the file type) with the relevant method and then sync the GdViewer with that object using the DisplayFromGdPicturePDF or DisplayFromGdPictureImage methods.
GdViewer is only a viewer and should be used as such, in order to manipulate the files you're viewing in it, you have to load them into the relevant object before anything else.
GdViewer is only a viewer and should be used as such, in order to manipulate the files you're viewing in it, you have to load them into the relevant object before anything else.
Who is online
Users browsing this forum: No registered users and 1 guest