Table of Contents

TTMSFNCHotSpotImage.OnBeforeDrawHotSpotName Event

Occurs before a hotspot name is drawn.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCHotSpotImage Inherited from: TTMSFNCCustomHotSpotImage

Syntax

OnBeforeDrawHotSpotName: TTMSFNCHotSpotImageBeforeDrawNameEvent;

Parameters

Name Description
Sender Hotspot image that is drawing the name.
AGraphics Graphics context used for drawing.
AIndex Index of the hotspot whose name is being drawn.
AText Name text to draw.
ARect Text drawing rectangle.
ALocation Location where the name will be drawn.
AAllow Set to True to draw the name; set to False to suppress it.
ADefaultDraw Set to True to keep default drawing; set to False when custom drawing replaces it.