Table of Contents

Constructor ScrollBarAnnotationsPaintRequest

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

ScrollBarAnnotationsPaintRequest(ScrollBarPaintEventArgs, IEnumerable<ScrollBarAnnotationPaintData>, int, int, float)

Initializes a new instance of the ScrollBarAnnotationsPaintRequest class with specified parameters.

public ScrollBarAnnotationsPaintRequest(ScrollBarPaintEventArgs paintEventArgs, IEnumerable<ScrollBarAnnotationPaintData> annotations, int totalTextLinesCount, int pageSizeInLines, float dpiScale)

Parameters

paintEventArgs ScrollBarPaintEventArgs

Contains scrollbar annotation paint data.

annotations IEnumerable<ScrollBarAnnotationPaintData>

List of the annotations to be painted.

totalTextLinesCount int

Total number of the text lines where annotations will be painted.

pageSizeInLines int

Number of lines on page.

dpiScale float

Annotations scale factor.