User Tools

Site Tools


Table of Contents

ITGIS_ViewerWndEvents.AfterPaintEvent method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWndEvents.AfterPaintEvent | Methods

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

Available also on: Delphi FMX | .NET WinForms | Python.


// C#
public void AfterPaintEvent(
  ref WordBool Translated,
  ITBaseObject Canvas
' VisualBasic
Public Sub AfterPaintEvent(
  ByRef Translated As WordBool,
  ByVal Canvas As ITBaseObject
// Oxygene
  procedure AfterPaintEvent(
    var Translated : WordBool;
    Canvas : ITBaseObject


Name Type Description
Translated WordBool
Canvas ITBaseObject


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

2022/11/16 01:12

Page Tools