Table of Contents

Constructor ScrollBarAnnotationPaintData

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

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

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

public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationHorizontalAlignment horizontalAlignment, ScrollBarAnnotationVerticalAlignment verticalAlignment, Color color, double 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 double

Annotation height.

textLinesCount int

Number of lines to which annotation belongs.

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

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

public ScrollBarAnnotationPaintData(ScrollBarAnnotationType type, int textLineStartIndex, ScrollBarAnnotationAlignment alignment, Color color, double 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 double

Annotation height.

textLinesCount int

Number of lines to which annotation belongs.