Vcl.Edge.TCustomEdgeBrowser.CapturePreview
Delphi
procedure CapturePreview(const AFilename: string; PreviewFormat: TPreviewFormat = PNG); overload;
procedure CapturePreview(Stream: TStream; PreviewFormat: TPreviewFormat = PNG); overload;
C++
void __fastcall CapturePreview(const System::UnicodeString AFilename, TPreviewFormat PreviewFormat = (TPreviewFormat)(0x0))/* overload */;
void __fastcall CapturePreview(System::Classes::TStream* Stream, TPreviewFormat PreviewFormat = (TPreviewFormat)(0x0))/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Edge.pas Vcl.Edge.hpp |
Vcl.Edge | TCustomEdgeBrowser |
Description
Captures an image of what the WebView control is displaying, and writes it to a stream.