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
startLine
intSpecifies the first line of content to paint.
endLine
intSpecifies the last line of content to paint.
position
PointThe Point value that specifies start position to draw content from.
rect
RectangleRectangular area of control to draw.
location
PointThe Point value that specifies start position to draw page from.
specialPaint
boolReserved for internal use. Used for Print and Print preview.