Method PaintSyntax
PaintSyntax(int, int, Point, Rectangle, Point, bool)
When implemented by a class, perform syntax painting of the control on the graphic surface.
void PaintSyntax(int startLine, int endLine, Point position, Rectangle rect, Point location, bool specialPaint)
Parameters
startLineintSpecifies the first line of content to paint.
endLineintSpecifies the last line of content to paint.
positionPointThe Point value that specifies start position to draw content from.
rectRectangleRectangular area of control to draw.
locationPointThe Point value that specifies start position to draw page from.
specialPaintboolReserved for internal use. Used for Print and Print preview.