dbicGauge Send comments on this topic.
UserDrawnText Event
See Also 
dbicGauge Assembly > Dbi.WinControl.Gauge Namespace > dbiGauge Class : UserDrawnText Event

Occurs just before any text is written at a major tick line.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnText As dbiGauge.EventUserDrawnTextHandler
C# 
public event dbiGauge.EventUserDrawnTextHandler UserDrawnText

Event Data

The event handler receives an argument of type UserDrawnTextEventArgs containing data related to this event. The following UserDrawnTextEventArgs properties provide information specific to this event.

PropertyDescription
Count The current major tick getting text drawn.
Font The font used for drawing the text.
ForeColor The color used to paint the text.
Gauge The gauge displaying the text.
Index The index value of the gauge displaying the text.
Text The text that will be displayed.
TextOffset The offset used to calculate the location of the text.
Value The value representated by the major tick mark.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also