Table of Contents

Constructor ScrollBarAnnotationPaintData

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

ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationHorizontalAlignment, ScrollBarAnnotationVerticalAlignment, Color, int, int)

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

public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationHorizontalAlignment horizontalAlignment, ScrollBarAnnotationVerticalAlignment verticalAlignment, Color color, int height, int textLinesCount = 1)

Parameters

type ScrollBarAnnotationType

Type of the annotation.

textLineStartIndex int

Index of line from which annotation starts.

horizontalAlignment ScrollBarAnnotationHorizontalAlignment

Horizontal alignment of the annotation.

verticalAlignment ScrollBarAnnotationVerticalAlignment

Vertical alignment of the annotation.

color Color

Annotation background color.

height int

Annotation height.

textLinesCount int

Number of lines to which annotation belongs.

ScrollBarAnnotationPaintData(ScrollBarAnnotationType, int, ScrollBarAnnotationAlignment, Color, int, int)

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

public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationAlignment alignment, Color color, int height, int textLinesCount = 1)

Parameters

type ScrollBarAnnotationType

Type of the annotation.

textLineStartIndex int

Index of line from which annotation starts.

alignment ScrollBarAnnotationAlignment

Alignment of the annotation.

color Color

Annotation background color.

height int

Annotation height.

textLinesCount int

Number of lines to which annotation belongs.