Home | About us | Contact us

 

 
 

Home

Products

Url2Img

How to use

Features

Requirements

History

Review(comments)

Url2Img How to use

Url2Img provides 5 methods and 1 event. The methods implement the saving of different image types and the event is fired when a save operation is completed.

Methods:
- SaveAsBmp
- SaveAsJpeg
- SaveAsGif
- SaveAsTiff
- SaveAsPng

All the methods take the following parameters.

void SaveAsImgType(
BSTR Url,
DWORD Width,
DWORD Height,
BSTR FileName);

Url - the Url of the web page you want a screenshot of
Width - the width of the image in pixels
Height -the height of the image in pixels
FileName - the file name to be used for the image. Full path is required.

Events:
- Complete

The Complete event is called when a save operation is completed.

void Complete(bool Success);

Success - indicates wheather the operation was successfull.

For more information on how to use Url2Img see the 3 demo programs installed with the package. There are examples for Visual Basic, Visual C++ and Delphi.

 

© 2004 BGDN.Net | Privacy Policy | Terms and Conditions

Contact Us