displayFromString in GdViewer OCX Ver. 4.12.4

Discussions about document viewing.
Post Reply
Jeroen
Posts: 3
Joined: Thu Dec 03, 2009 4:36 pm

displayFromString in GdViewer OCX Ver. 4.12.4

Post by Jeroen » Thu Dec 03, 2009 4:57 pm

Hi, I'm currently evaluating the GdViewer OCX Ver. 4.12.4. I'm implementing the OCX in a Progress ABL environment. I have my images and pdf files stored in a database, in binary format. I can retrieve these files and create an os file, which I then load into the ocx using displayFromFile. This works fine, no problem. But, this does mean I have to do disk I/O. I would like to use the displayFromString method, but here's the catch: I can only retrieve the binary file in a base64 encoded string. The OCX cannot display the file from this encoded string. Do you foresee that the option to display from a base64 encoded string will be added to the OCX in a future release? Using the displayFromByteArray is not an option btw, as I said my environment is Progress ABL, I'm lacking the right datatype for this...

Regards, Jeroen

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: displayFromString in GdViewer OCX Ver. 4.12.4

Post by Loïc » Thu Dec 03, 2009 5:17 pm

Hi,

This feature is implemented in GdPciture Pro only.

The Imaging class provide a function named Decode64String().

With best regards,

Loïc

bakatori
Posts: 19
Joined: Tue Jul 06, 2010 9:49 am

Re: displayFromString in GdViewer OCX Ver. 4.12.4

Post by bakatori » Wed Oct 27, 2010 3:23 am

are you developing on the web form?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest