Hi,
The GdImageBox component is an ActiveX, not a WinForm control. Therefore, you can't simply draw it within a Web-page using visual Studio DotNet.
What you have to do is to add a reference to the control using HTML + JS syntax. In the sample folder of the installation directory you can find a useful html sample called image-viewer.html.
IE:
- Code: Select all
<OBJECT ID="MyGdImageBox" TYPE="application/x-oleobject" classid="CLSID:7FD025C0-A085-44EA-B411-40000E237918" width="800" height="600" codebase="http://www.gdpicture.com/pub/gdimagebox2.cab#Version=2,3,0,0">
<param name="BackColor" value="255">
<param name="BorderStyle" value="1">
<param name="ZoomMode" value="2">
<param name="LicenseKey" value="Your_License_KEY_Here">
</OBJECT>
Kind regards,
Loïc