Search found 3 matches

by NicFarrell
Mon Jul 22, 2013 5:23 pm
Forum: Document Viewing
Topic: .net GdImaging to com GdViewer Image will not display.
Replies: 3
Views: 1544

Re: .net GdImaging to com GdViewer Image will not display.

The relevant sections from the c# code are as follows: public class Image : _Image { private int _imageHandle = 0; public int handle { get { return _imageHandle; } } public bool CreateImageFromFile(string file) { CloseNativeImage(); _imageHandle = GDSingleton.Instance.gdPictureImaging.CreateGdPictur...
by NicFarrell
Sat Jul 20, 2013 12:45 am
Forum: Document Viewing
Topic: .net GdImaging to com GdViewer Image will not display.
Replies: 3
Views: 1544

.net GdImaging to com GdViewer Image will not display.

I have series of object-oriented wrappers in .net code for image specific functionality in GdPicture. My image wrapper maintains the handle returned when a new image is opened by GdPicture and does all of its work on that handle. This is all contained in a .net dll that exposes itself to com. In my ...
by NicFarrell
Fri Jun 28, 2013 1:14 am
Forum: Example requests & Code samples
Topic: Convert PDF to GD Native Image
Replies: 1
Views: 1272

Convert PDF to GD Native Image

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 GdV...