| The Coolest Way to Capture Image of Internet Explorer Window and Win Visitors to Your Web Site |
ActiveScreen is an ActiveX control for capturing image with Internet Explorer. It is light-weight, easy to use and POWERFUL.
ActiveScreen is open for customization orders.
After ActiveScreen has been installed successfully, try one of the following methods to capture a image:
| Captured Image Size: | ||
| Save the image to a file: | * If no file path specified, a SaveAs dialogbox will be displayed. | |
| Encode the captured image as: | * After encoded, the data of captured image can be retrieved byte by byte. | |
| Encode the captured image to BASE64 |
|
|
You can decide whether ActiveScreen should continue to work for other web pages after the user left the hosting page. To try this feature, check the the checkbox below and navigate to google or another web page. The scripts of the hosting page will go away after the user left, but the [Ctrl + Left Mouse button] and SaveAs dialogbox will continue to function.
Keep ActiveScreen active after left this page
| ProgID | ActiveScreen.ASTools | |
| Class ID | 64CA46A8-1FB3-49E7-86A1-E3F8EB392F42 | |
| Methods | SetCallbacks(scripts) |
When an image is captured the ImageCaptured function of the scripts is called with the captured image object as argument. Below are codes used by this web page:
<script language="javascript">
var image=null;
function ImageCaptured(img)
{
image=img;
td_ImageInfo.innerText="Width=" + image.Width.toString() + ", Height=" + image.Height.toString();
window.alert("Image Captured");
}
if(xbas)
{
xbas.SetCallbacks(this);
}
</script>
|
| CaptureScreen() | Capture the whole screen. If successful, the callback function ImageCaptured will be called. | |
| CaptureWindow() | Capture the Internet Explorer window. If successful, the callback function ImageCaptured will be called. | |
| CaptureRectangle(left, top, width, height) | Capture a portion of the Internet Explorer window. If successful, the callback function ImageCaptured will be called. | |
| Properties | KeepActive | true or false. Decide whether ActiveScreen should continue to work after the user left the hosting page. |
| Methods | SaveAs(path) |
Save the image to file. Is path is empty, a "Save As" dialogbox will be displayed. Returns true if the image is successfully saved. |
| Encode(imageType) | Encode the image with the format specified by imageType ("jpg" for example). Returns the number of bytes of the encoded data. | |
| GetEncodedByte(index) | Retrieve a byte of the encoded image data. This method must be called after a successful call of Encode(). | |
| EncodeBase64(imageType) | Encode the image into a base64 string, using the format specified by imageType ("jpg" for example). Returns a base64 string that contains the encoded image data. | |
| Properties | ErrorMessage |
Text information about the last error. |
| Width | width of the image | |
| Height | height of the image | |
| EncodedType | String value. This is the argument used when Encode() was called. | |
| EncodedSize | Number of bytes of the encoded image. This value is the same as returned by Encode() |
The license fee is USD 256. 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.