User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.afterpaintevent

Table of Contents

TGIS_ViewerWnd.AfterPaintEvent event

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.AfterPaintEvent | Constructors | Fields | Methods | Properties | Events

AfterPaint event. Will be fired after any Paint operation. Uses painting context object.

Available also on: Delphi FMX | ActiveX.

Syntax

// C#
public event TGIS_PaintEvent AfterPaintEvent
{
  add {}
  remove {}
}
' VisualBasic
Public Custom Event AfterPaintEvent As TGIS_PaintEvent
  AddHandler(ByVal value As TGIS_PaintEvent)
  End AddHandler
  RemoveHandler(ByVal value As TGIS_PaintEvent)
  End RemoveHandler
End Event
// Oxygene
public
  event AfterPaintEvent : TGIS_PaintEvent add remove;

Value

Remarks

This even can be quite costly. To maintain compatibility with the old code we guarantee proper Graphics context even on SharpDX renderer. Try to replace this event with AfterPaintRendererEvent, which is always fast.

References

2020/11/29 20:37

Page Tools