Table of Contents

TTMSFNCTimelineDivisionTextDrawingParams Record

Parameters passed to division-text drawing events, providing the tick value, formatted text, alignment, and available rectangle.

API unit family: TMSFNCTimeline

Syntax

TTMSFNCTimelineDivisionTextDrawingParams = record

Fields and properties

Name Type Description
AvailableRect TRectF Bounds the label may occupy without overlapping neighbouring divisions.
PositionRect TRectF Bounds of the division the label belongs to.
Text string The label text about to be drawn. Change it to relabel the division.
TextAngle Single Rotation applied to the label, in degrees.
TextHorizontalAlign TTMSFNCGraphicsTextAlign Horizontal alignment of the label inside AvailableRect.
TextPosition TTMSFNCGraphicsTextAlign Placement of the label relative to its division.
TextVerticalAlign TTMSFNCGraphicsTextAlign Vertical alignment of the label inside AvailableRect.
Value Double The timeline value the label describes.
WordWrap Boolean True when the label wraps to multiple lines instead of being clipped.