I am using this control (WANG IMAGE EDIT CONTROL) and WANG SCAN CONTROL in ORACLE FORMS just to save the scanned image in the file.
This follwing procedure is supposed to save the displayed image in a file. But somehow
I'm not able to pass right parameters to it. The first two parameters doesn't give me any
PROCEDURE SaveAs(interface OleObj, Image VARCHAR2, FileType OleVar := OleVar_Null,
PageType OleVar := OleVar_Null, CompressionType OleVar := OleVar_Null, CompressionInfo OleVar := OleVar_Null,
SaveAtZoom OleVar := OleVar_Null);
If I do this :
(hint is the edit control)
It works fine and saves the image as TIFF format, but I need JPEG. So I try to pass
FileType, and CompressionType parameters which are integers. I get error message that
I'm passing 'wrong number or type of arguments'.
Thanks in Advance.