HtmlCapture component is a small self-contained (no third-party dependencies) DLL with ActiveX control, so it can be used
from any ActiveX-ready languages. More than 30 samples included in the distribution file for the most popular languages are provided.
The samples will let you start creating your own projects immediately. After the installation of HtmlCapture, all of them could be found
in the folder
HTMLCAPTURE/demos/. Here is a list of them.
- ASP
- MainDemo.
The simplest example shows how to take snapshot of a webpage in ASP
- Batch.
Shows how to convert html to image in batch in ASP.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in ASP.
- SeparateImage.
Shows how to separate a long webpage into several images in ASP.
- Thumbnail.
Shows how to create a thumbnail image in the memory and output to client directly in ASP.
- PHP
- MainDemo.
The simplest example shows how to take snapshot of a webpage in PHP.
- MultiThread.
This demo starts multiple snap tasks simultaneously to show HtmlCapture's multi-thread capability.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in PHP.
- SeparateImage.
Shows how to convert long html to several separate image files in PHP.
- Thumbnail.
Shows how to create a thumbnail image in the memory and output to client directly in PHP.
- Batch.
Shows how to convert html to image in batch in PHP.
- C#
- MainDemo.
The simplest example shows how to take snapshot of a webpage in C#.
- Batch.
Shows how to convert html to image in batch in C#.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in C#.
- SeparateImage.
Shows how to separate a long webpage into several images in C#.
- SnapWebBrowser.
Shows how to take snapshot from a existing web browser instance in C#.
- VC
- MainDemo.
This main demo shows the usage of almost all functions in HtmlCapture V2.0.
- IEButtom.
This sample adds a button to the Internet Explorer toolbar to take snapshot take snapshot of current URL.
It demostrates how to use the SnapWebBrowser funtion in VC.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in VC.
- SnapWebBrowser.
Shows how to take snapshot from a existing web browser instance in VC.
- Delphi
- MainDemo.
This main demo shows the usage of almost all functions in HtmlCapture.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in Delphi.
- C++ Builder
- MainDemo.
This main demo shows the usage of almost all functions in HtmlCapture.
- MultiPagePDF.
Shows how to take snapshots of webpages and save them into a multi-page PDF document in C++ Builder.
- VB
- MainDemo.
This main demo shows the usage of almost all functions in HtmlCapture.
- Java
- MainDemo.
This demo shows how to call HtmlCapture from java code. It creates a java wrapper calss and implement the method to call HtmlCapture in JNI C++ code.
- Perl
- MainDemo.
This main demo shows how to take snapshot of the full webpage and get the thumbnail in Perl.
- ASP.net
- MainDemo.
This main demo shows how to take snapshot of the full webpage and get the thumbnail in ASP.net.
- JScript
- MainDemo.
The simplest example shows how to convert webpage to image in JScript
- MultiPageTiff.
Shows how to convert a long webpage to multi-page TIFF file in JScript.
- GetSource.
Shows how to get the HTML source of a webpage in JScript.
- MultiPagePDF.
Shows how to convert a long webpage to multi-page PDF file in JScript.
- SeparateImage.
Shows how to separate a long webpage into several images in JScript.
- VBScript
- MainDemo.
The simplest example shows how to convert webpage to image in VBScript
- MultiPageTiff.
Shows how to convert a long webpage to multi-page TIFF file in VBScript.
- GetSource.
Shows how to get the HTML source of a webpage in VBScript.
- MultiPagePDF.
Shows how to convert a long webpage to multi-page PDF file in VBScript.
- SeparateImage.
Shows how to separate a long webpage into several images in VBScript.