Constructor ScrollBarAnnotationPaintData
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
typeScrollBarAnnotationTypeType of the annotation.
textLineStartIndexintIndex of line from which annotation starts.
horizontalAlignmentScrollBarAnnotationHorizontalAlignmentHorizontal alignment of the annotation.
verticalAlignmentScrollBarAnnotationVerticalAlignmentVertical alignment of the annotation.
colorColorAnnotation background color.
heightdoubleAnnotation height.
textLinesCountintNumber 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
typeScrollBarAnnotationTypeType of the annotation.
textLineStartIndexintIndex of line from which annotation starts.
alignmentScrollBarAnnotationAlignmentAlignment of the annotation.
colorColorAnnotation background color.
heightdoubleAnnotation height.
textLinesCountintNumber of lines to which annotation belongs.