Skip to content

RefreshPlayerOverlays

method

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 if you are e.g. performing free hand drawing with the mouse over the video frames while the clip is paused, and you want the drawing to be applied. Look at the "free hand drawing" sample code in the OnFrameOverlayUsingDC event of the MainDemo project.