GdPicture.NET 10

Discussions about PDF management.
Post Reply
jeffsilva
Posts: 4
Joined: Thu May 15, 2014 7:37 pm

GdPicture.NET 10

Post by jeffsilva » Thu May 15, 2014 7:49 pm

Like when you click on Thumb it appears on GdViewer through javascript.

I'm using this method to set the Thumbs in Class ThumbnailEx.

function setarThum(str) {

unlockGdPicture();

var oThumbnailEx = document.getElementById("Thum1");
oThumbnailEx.LoadFromDirectory(str, true);
}

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: GdPicture.NET 10

Post by SamiKharma » Sat May 24, 2014 4:02 pm

Hi,

I do not understand the question. Could you please explain.

Best,
Sami

jeffsilva
Posts: 4
Joined: Thu May 15, 2014 7:37 pm

Re: GdPicture.NET 10

Post by jeffsilva » Fri May 30, 2014 10:48 pm

For javascript, it would be possible to pass a URL to oThumbnailEx component, to add more of a Thumb.

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: GdPicture.NET 10

Post by SamiKharma » Mon Jun 02, 2014 10:49 am

Hi,

I am sorry, but I still do not understand.
I am guessing you want to add a thumbnail from a file through a url, if that is the case, you need to create an image from HTTP or FTP using CreateGdPictureImageFromHTTP or CreateGdPictureImageFromFTP
then use that image to add a thumbnail using AddItemFromGdPictureImage.

I hope this helps.
Best,
Sami

jeffsilva
Posts: 4
Joined: Thu May 15, 2014 7:37 pm

Re: GdPicture.NET 10

Post by jeffsilva » Tue Jun 03, 2014 9:39 pm

How to redeem ImagenID of AddItemFromGdPictureImage to put in DisplayFromGdPictureImage.

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: GdPicture.NET 10

Post by SamiKharma » Wed Jun 04, 2014 10:43 am

Hi,

You can use the function GetItemBitmap, but be careful, the returned image will just be a Thumbnail (resized) version of the original. You need to manage your application to keep the original, or save it somewhere to be retrieved shall you need it in a later stage.

Best,
Sami

jeffsilva
Posts: 4
Joined: Thu May 15, 2014 7:37 pm

Re: GdPicture.NET 10

Post by jeffsilva » Wed Jun 04, 2014 2:44 pm

Could you give me an example?, How to keep the saved images?

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: GdPicture.NET 10

Post by SamiKharma » Thu Jun 05, 2014 1:38 pm

Hi,

There is no example to give, if you loaded the thumbnail from a GdPictureImage, do not release the Image if you shall need it again.
If you want to save a certain image, please use the the saving functions in the GdPictureImaging class.

I think we should take a step back. You should probably see our DocumentViewer sample for better understanding of how to handle the ThumbnailViewer. The sample does not show all the capabilities of the viewer, so if you need something more specific you need to look in the documentation:
guides.gdpicture.com

If after the above you still need specific help please do not hesitate to ask.

Best,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests