Before starting
To brows this documentation you must have a Java Virtual Machine installed on your computer.
We recommend installing Java 6 or higher from Sun Microsystems' web site.
1. Introduction
The GdPicture Pro ActiveX control provides an image processing class and an embeddable Image & PDF viewer for Windows application
developers.
Using Visual Basic, Visual FoxPro, MS-Access, Delphi, VB.NET, C#, Visual C++, RealBasic (or another ActiveX-aware development tool), developers can build a custom interface including the capability to edit and view Image & PDF. This SDK is based on the GdPicture V5 Technology.
2. Installing & Redistributing the Control
• Required files:
You must copy the msvbvm60.dll and the gdpicturepro5.ocx into c:\%Windows%\System32\ .
You can download the last gdpicturepro5.ocx edition here.
Note: gdpicturepro5.ocx need to be registered on your system by running the folowing command: regsvr32 c:\%Windows%\System32\gdpicturepro5.ocx
• Optional files:
- If your application runs under windows 98, NT4, ME or 2000 you must copy the gdiplus.dll into c:\%Windows%\System32\ or into your application directory.
- TWAIN functions are included in gdtwain.dll. This library is needed if your application includes TWAIN device support.
You must copy this file into c:\%Windows%\System32\ or into your application directory. You don't need to register this library on your system.
You can download the last gdtwain.dll edition here.
- PDF viewing functions are included in gdpdfplug.dll. This library is needed if your application includes PDF View support.
You must copy this file into c:\%Windows%\System32\ or into your application directory. You don't need to register this library on your system.
You can download the last gdpdfplug.dll edition here.
- The gdimgplug.dll library can be redistributed in order to increase the speed of image decoding and to extend the supported image formats to jpeg 2000, TGA, EXR, PSP...
You must copy this file into c:\%Windows%\System32\ or into your application directory. You don't need to register this library on your system.
You can download the last gdimgplug.dll edition here.
- OCR functions are included in gdocrplug.tesseract.dll. This library is needed if your application includes OCR support.
You must copy this file into c:\%Windows%\System32\ or into your application directory. You don't need to register this library on your system.
You can download the last gdocrplug.tesseract.dll edition here.
Additionally, some files depending of the language of recognition must be accessible.
IE: If your application must recognize english text you have to deploy eng.DangAmbigs, eng.freq-dawg, eng.inttemp, eng.normproto, eng.pffmtable, eng.unicharset, eng.user-words and eng.word-dawg.
Note: Separate licenses are required to use OCR features. You can get more informations from this link.
3. Using the Control
This manual assumes that you are familiar with using controls in your development tool.
The GdPicture Pro Control can be instantiated just like any other control. Before using the GdPicture Pro ActiveX you need to add a reference to it within your development tool.
All samples will be given in Visual Basic and usage from other ActiveX-aware development tools is not specifically covered in this manual, but should be similar to the Visual Basic usage.
To add a reference to the GdPicture Pro control in Visual Basic 5 or 6:
• Select the “Components...” command on the “Projects” menu, then check the box next to “GdPicture Pro 5 - Imaging Toolkit".
Note: If you can't see the GdPicture Pro 5 - Imaging Toolkit box you can add it by clicking into the "Brows.." button.
To add a reference to the GdPicture Pro control in Visual Studio .NET:
• Right-click into the Toolbox Items and select "Add/Remove Items" for visual studio 2003 or "Choose Items" for visual studio 2005 and visual studio 2008.
• Choose the COM tab and check the classe(s) you want to use: (GdPicturePro5.GdViewer or GdPicturePro5.GdViewerCnt or GdPicturePro5.Imaging).
Note: If you can't see the desired box you can add it by clicking into the "Brows.." button.
4. Class information's
• Component: GdPicture Pro 5 - Imaging ToolKit
Marked as Safe for Scripting and Initialization: NO
File: gdpicturepro5.ocx
Class count: 4
Class 1: GdViewer (Visual Class)
-> Access string: GdPicturePro5.GdViewer
-> CLSID: {96663DB2-110C-45A2-8B0E-9616ECB11697}
Class 2: GdViewerCnt
(Visual Class)
-> Access string: GdPicturePro5.GdViewerCnt
-> CLSID: {586F435F-8E3E-41B0-8B6C-88C8759B435A}
Class 3: Imaging (Visual Class)
-> Access string: GdPicturePro5.Imaging
-> CLSID: {98DD86C5-41AB-4F46-97DA-F758AD460584}
Class 4: cImaging (Non-Visual Class)
-> Access string: GdPicturePro5.cImaging
-> CLSID: {3E3B6818-DEA6-4E5B-B2A3-DE436DC842CB}
• Component: GdPicture Pro 5 - Imaging ToolKit (Safe)
Marked as Safe for Scripting and Initialization: YES
File: gdpicturepro5S.ocx
Class count: 4
Class 1: GdViewer (Visual Class)
-> Access string: GdPicturePro5S.GdViewer
-> CLSID: {F48DE781-C525-44C9-9529-C5ADE3EF5F70}
Class 2: GdViewerCnt
(Visual Class)
-> Access string: GdPicturePro5S.GdViewerCnt
-> CLSID: {14909A7C-9F5F-4F62-A215-11466CF0A7C9}
Class 3: Imaging (Visual Class)
-> Access string: GdPicturePro5S.Imaging
-> CLSID: {1E9EFC03-BF47-4479-8374-7F5D610FF60D}
Class 4: cImaging (Non-Visual Class)
-> Access string: GdPicturePro5S.cImaging
-> CLSID: {96D0E5D5-076F-4BBD-8D2B-324DD2C39B66}