Table of Contents

TTMSFNCRichEditorHorizontalRuler.OnBeforeDrawLeftMargin Event

Occurs before the left margin marker is drawn.

API unit family: TMSFNCRichEditorRuler Declaring type: TTMSFNCRichEditorHorizontalRuler Inherited from: TTMSFNCRichEditorCustomRuler

Syntax

OnBeforeDrawLeftMargin: TTMSFNCRichEditorRulerBeforeDrawMarginEvent;

Parameters

Name Description
Sender The object that triggered the event.
AGraphics The graphics context used for drawing.
AType The ruler tab or margin type being drawn.
AMargin The left margin value.
ARect The margin drawing rectangle.
AAllow Set to False to skip drawing the margin marker.
ADefaultDraw Set to False to replace the default margin marker drawing.