TVideoGrabber.GetLogString

Prev

Next

TVideoGrabber

Methods

 




































































































Returns a TLogType value (returned by the OnLog event) as string


Declaration
function GetLogString (Value: TLogType): string;


wchar_t *GetLogString (TLogType Value);


Function GetLogString (Value as TLogType) as string

Description

Used to retrieve the string value of the TLogType parameter returned by the OnLog event.

E.g.

procedure TForm1.VideoGrabberLog (Sender: TObject; LogType: TLogType;  Severity, InfoMsg: String);
var
   sLog: string;
begin
   sLog := VideoGrabber.GetLogString (LogType));
   Memo1.Lines.Add (sLog);
end;