User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.BeforePaintEvent event

DK11 for Delphi | FMX.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 VCL | .NET WinForms | .NET WPF.

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 drawing context. Try to replace this event with BeforePaintRendererEvent, which is always fast.

2019/04/26 15:16