Skip to content

RefreshPlayerOverlays

function

Delphi
procedure RefreshPlayerOverlays;
C++Builder
void __fastcall RefreshPlayerOverlays();
C#
public void RefreshPlayerOverlays();
VB.NET
Public Sub RefreshPlayerOverlays()
C++/Qt
void RefreshPlayerOverlays ();

Must be invoked to refresh the graphic or text overlays when the video clip is paused: invoking this method when the video clip is paused raises the OnFrameOverlayUsing... events and redraws the current video frame.

Invoke it e.g. when performing freehand drawing with the mouse over the video frames while the clip is paused, and the drawing has to be applied.

Look at the "free hand drawing" sample code in the OnFrameOverlayUsingDC event of the MainDemo project.