Constructor ScrollBarAnnotation
ScrollBarAnnotation(ScrollBarAnnotationType, int, int)
Initializes a new instance of the ScrollBarAnnotation class with specified parameters.
public ScrollBarAnnotation(ScrollBarAnnotationType type, int textLineStartIndex, int textLinesCount = 1)
Parameters
typeScrollBarAnnotationTypeSpecifies type of the annotation.
textLineStartIndexintSpecifies an index of the first line in the text to which this new instance belongs.
textLinesCountintSpecifies the number of lines in the text to which this new instance belongs.