description | features | methods | samples | download | buy | |||
Method | Description |
---|---|
Destroy objects and free allocated memory | |
Reserved | |
Get a cookie | |
Get the list of all downloaded files in a page | |
Get the list of all frames in a page | |
GetFreeMemory([out,retval] int* freememory) | Reserved |
Get the list of all images in a page | |
Get the list of all links in a page (for e-mail and web pages) | |
Reserved | |
GetRealHeight([out,retval] int *pVal) | Get real height of web page snap-shot image (if h argument has value 0). |
Get real url | |
Get real width of web page snap-shot image (if w argument has value 0). | |
Reserved | |
Reserved | |
Get the text list of all progress reports in a page | |
Get the text list of all requests in a page | |
Get the text list of all responses in a page | |
Get HTML source code of a web page | |
Reports error status
0 - no errore 2 - timeout error 4 - popup windows are closed 8 - popup windows are blocked 16 - timeout error 32 - timeout error (crashed) 8192 - popup windows and other windows are closed 32768 - Snapshot has not been created |
|
Get the list of all styles in a page | |
Get plain text from a web page | |
Get title of a web page | |
Get the list of urls of all downloaded files in a page | |
Make snapshot of a web page. Parameters: width - width of window ie, value "0" - set width automatically height - height of window ie, value "0" - set height automatically url - URL of the web page | |
Make snapshot of a web page. (or GetWebPage method) | |
Save image in BMP format | |
Save image in GIF format | |
Save image in Jpeg format | |
Save image in PNG format | |
Save image to stream in Jpeg format | |
Save image to stream in PNG format | |
Turn off/on loading and running of ActiveX Parameter: loadActiveX- integer [0,1]. 0 - Turn off, 1 -turn on. | |
Control Internet Explore cache, download from IE cache or directly from the Web Parameter: cacheMode- integer [0,1]. 0 - download from site, 1 - download from cache. | |
([in] int x1, [in] int y1, [in] int x2, [in] int y2) |
Set a rectangle for cutting a part of snapshot image |
Add a cookie value to the existing one. 'tonec=yes&login=true for example | |
Reserved | |
Set default size | |
Set delay before making a screenshot. The value in msec. (for ActiveX, Flash, animation gif) | |
Set directory to save downloaded files | |
Set a value for sending a form using POST method. By using the blank value or not calling the method makes it possible to get a page using GET method. In the case of using SetNavigationMode method with value 1, sending the form with POST method is impossible. | |
Set snapshot height (with Run method) | |
Turn off/on using Java Parameter: java - integer [0,1]. 0 - Turn off, 1 -turn on. | |
Reserved | |
Set max value to links count | |
Set maximum size of a page. A web page and result image will not increase these dimensions. | |
Images will have minimal size 0 - default behavior 1 - a web page will have a minimal size set by SetDefaultSize method. Now SetDefaultSize method works not only for pages with frames | |
Set the type of navigation Parameter: navigationMode - integer [0,1].
'0 - load blank page first, then specified url '1 - load the page at once, not recommended because of possible freezes 'in the version 1.5 it is possible to set rectangle for snapshot using 'SetClipRectangle method. |
|
Reserved | |
Reserved | |
Reserved | |
Reserved | |
Reserved | |
Turn off/on to get additional document information like a title, real URL and so on | |
Turn off/on to get additional document information -frames URL | |
Turn off/on to get additional document information -images URL | |
Turn off/on to get additional document information -links URL | |
Turn off/on to get additional document information about external scripts URL | |
Turn off/on making snapshot | |
Turn off/on to get additional document information about styles URL | |
Turn off/on to save downloaded files | |
Turn off/on running Javascript and VBScript scripts Parameter: script - integer [0,1]. 0 - Turn off, 1 -turn on. | |
Set snapshot width and height (with Run method) | |
Reserved | |
Set thumbnail size | |
Set timeout - it is used to force the termination of GetWebPage (Run) method. The value in msec. | |
Set snapshot width (with Run method) | |
Turn off/on loading of images on the page Parameter: showImage - integer [0,1]. 0 - Turn off, 1 -turn on. |
Method | Description |
---|---|
Get a web page Parameters: width - width of window ie, value "0" - set width automatically height - height of window ie, value "0" - set height automatically url - URL of a web page |
|
SaveAsPng (filename) | Save image in PNG format |
SaveAsBMP (filename) | Save image in BMP format |
SaveAsJpeg (filename) | Save image in Jpeg format |
SaveAsGif (filename) | Save image in Gif format |
GetText | Get plain text from a web page |
GetTitle | Get title of a web page |
GetRealUrl | Get real url |
New Since v1.2 | |
SetThumbnailSize (width,heigth) | Set thumbnail size |
GetSource | Get HTML source code of a web page |
ShowImage (showImage) | Turn off/on loading of images on the page Parameter: showImage - integer [0,1]. 0 - Turn off, 1 -turn on. |
GetLinks | Get the list of all links in a page (for e-mail and web pages) |
GetRealHeight | Get real height of web page snap-shot image (if h argument has value 0). |
GetRealWidth | Get real width of web page snap-shot image (if w argument has value 0). |
SetCacheMode (cacheMode) | Control Internet Explore cache, download from IE cache or directly from the Web
Parameter: cacheMode- integer [0,1]. 0 - download from site, 1 - download from cache. |
Clear | Destroy objects and free allocated memory |
GetLinks | Get the list of all frames in a page |
New Since v1.5 | |
SetActiveX(loadActiveX) | Turn off/on loading and running of ActiveX Parameter: loadActiveX- integer [0,1]. 0 - Turn off, 1 -turn on. |
SetScript(script) | Turn off/on running Javascript and VBScript scripts Parameter: script - integer [0,1]. 0 - Turn off, 1 -turn on. |
SetJava(java) | Turn off/on using Java Parameter: java - integer [0,1]. 0 - Turn off, 1 -turn on. |
SetNavigationMode(navigationMode) | Set the type of navigation Parameter: navigationMode - integer [0,1]. '0 - load blank page first, then specified url '1 - load the page at once, not recommended because of possible freezes '1 - has an advantage that images will not contain right scrollbar 'in the version 1.5 it is possible to set rectangle for snapshot using 'SetClipRectangle method. |
SetJpegQuality | Set the quality of jpeg image |
SetClipRectangle | Set a rectangle for cutting a part of snapshot image |
SetTimeout | Set timeout - it is used to force the termination of GetWebPage method.The
incorrect termination causes memory leak in the version 1.5 The value in msec. |
SetForm | Set a value for sending a form using POST method the blank value or not calling the method makes it possible to get a page using GET method in the case of using SetNavigationMode method with value 1, sending the form using POST method is impossible. |
GetCookie | Get a cookie |
SetCookie | Add a cookie value to the existing one |
New Since v1.6 | |
SetDefaultSize (width,heigth) | Set default size |
SetDelay | Set delay before making screenshot. The value in msec. |
New Since v1.7 | |
GetStatus | Reports error status 0 - no errore 2 - timeout error 4 - popup windows are closed 8 - popup windows are blocked |
SetMinSize | Images will have minimal size 0 - default behavior 1 - a web page will have a minimal size set by SetDefaultSize method. Now SetDefaultSize method works not only for pages with frames |
SetMaxSize (width,heigth) | Set maximum size of a page. A web page and result image will not increase these dimensions. |
Privacy Policy | |
© 1999-2007. Tonec, Inc. All rights reserved. |