User Tools

Site Tools


api:dk11:delphi:vcl.gisviewerwnd.tgis_viewerwnd.beforepaintevent

Table of Contents

TGIS_ViewerWnd.BeforePaintEvent event

DK11 for Delphi | VCL.GisViewerWnd.TGIS_ViewerWnd.BeforePaintEvent | Constructors | Methods | Properties | Events

BeforePaint event. Will be fired before any Paint operation. Uses painting context object.

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

Syntax

// Delphi
published
  property BeforePaintEvent : TGIS_PaintEvent read write;
// C++ Builder
published:
  __property TGIS_PaintEvent* BeforePaintEvent = {read, write};

Value

Remarks

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 BeforePaintRendererEvent, which is always fast.

2020/05/22 01:10

Page Tools