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: .NET WinForms | ActiveX | Python.

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.

References

2022/11/16 01:14

Page Tools