| Software Products and Customization | |||
|
|||
ActiveWS is an ActiveX control for capturing images of online web pages. The captured image can be up to 32767 pixels in height.
| 1. |
Add the following lines to your web page (html file) to create a ActiveWS object: <object id="aws" name="aws" classid="clsid:706772EC-DA76-41E3-8518-F2479B2D0F0B"></object> |
|
|---|---|---|
| 2. |
Add javascript or vbscript codes to your web page (html file) to program the ActiveWS object. |
Before testing ActiveWS, you must download and install ActiveWS, and then refresh this page.
| ProgID | ActiveWS.Camera | |
| CLASS ID | 706772EC-DA76-41E3-8518-F2479B2D0F0B | |
| Mothods | GetDocumentFolder() | Returns the 'My Documents" folder |
| GetPictureFolder() | Returns the 'My Pictures" folder | |
| CapturePageSaveToFile(path) |
Capture the whole web page and save the captured image to path. If path is null or empty, a 'Save As' dialogbox will be displayed. Returns the path saved. |
|
| CaptureViewSaveToFile(path) |
Capture the visible area and save the captured image to path. If path is null or empty, a 'Save As' dialogbox will be displayed. Returns the path saved. |
|
| CaptureElementSaveToFile(element, path) |
Capture image of the element and save the captured image to path. If path is null or empty, a 'Save As' dialogbox will be displayed. Returns the path saved. |
|
| CapturePageReturnBase64(imageType) |
Capture the whole web page, encode the captured image to imageType (jpg for example), then base64 encode the image. Returns the base64-encoded string. |
|
| CaptureViewReturnBase64(imageType) |
Capture the visible area, encode the captured image to imageType (jpg for example), then base64-encode the captured image. Returns the base64-encoded string. |
|
| CaptureElementReturnBase64(element, path) |
Capture image of the element, encode the captured image to imageType (jpg for example), then base64-encode the captured image. Returns the base64-encoded string. |
|
| Properties | ErrorMessage | Text describing why one of the methods failed. |
| License | Text of license information. | |
ActiveWS.zip, about 67KB
You must register the ActiveX control with Windows before you can use it. Typically this is done using regsvr32. For example, open a command line window, change the current directory to where ActiveWS is and execute:
regsvr32 ActiveWS.dll
The license fee is USD 75. Click the button on the right to make the payment at PayPal.
Within 24 hours of the payment confirmed by our payment service provider, we will send you the licensed copy. If you have problems with our online payment service, please send a message to support@xuebrothers.net.