dbicDigit Send comments on this topic.
BeforeLineSegmentDrawn Event
See Also 
dbicDigit Assembly > Dbi.WinControl.Digit Namespace > dbiDigit Class : BeforeLineSegmentDrawn Event

Fires before each line segment of a character is drawn.

Syntax

Visual Basic (Declaration) 
Public Event BeforeLineSegmentDrawn As dbiDigit.EventBeforeLineSegmentDrawnHandler
C# 
public event dbiDigit.EventBeforeLineSegmentDrawnHandler BeforeLineSegmentDrawn

Event Data

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

PropertyDescription
Character The character the line segment is being drawn for.
LineSegment The line segment being drawn.
Position The index of the character within the control's Text property.
SegmentColor The color used to paint the current line segment

Remarks

This event can be used to override the color of individual line segments within the same character dispay.

Requirements

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

See Also