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
type
ScrollBarAnnotationTypeSpecifies type of the annotation.
textLineStartIndex
intSpecifies an index of the first line in the text to which this new instance belongs.
textLinesCount
intSpecifies the number of lines in the text to which this new instance belongs.