Contents - Index - Top


CapturePreview

Interface AntView 

 

Type: Method

Parameters: String ImageFileName TxCapturePreviewImageFormat ImageFormat

Returns: nothing

 

 

Capture an image of what the browser control is displaying and save it as filename ImageFilename of type ImageFormat.

Supported file types are PNG and JPEG.

This is basically a screenshot function that saves directly to file.

Triggers event OnCapturePreviewCompleted after the file was finished saving.

 

Introduced in AntView release 1.1.314

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024