SaveScreenshot procedure

Top  Previous  Next

EurekaLog includes a function called SaveScreenshot, that enables you to save the current screenshot to a file (.PNG format). The saving options are gets by the EurekaLog options.

 

Syntax of this function is as follows:

 

procedure SaveScreenshot(const Filename: string);

 

 

Example:

 

 

uses ExceptionLog; // The required unit...

 

begin

   ...

   SaveScreenshot('C:\Screenshots\MyFile.png');

   ...

end;