Table of Contents

Method PaintWindow

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

PaintWindow(IPainter, int, Rectangle, Point, float, float, bool, bool)

When implemented by a class, paints editor's content.

void PaintWindow(IPainter painter, int startLine, Rectangle rect, Point location, float scaleX, float scaleY, bool specialPaint, bool inPrinting)

Parameters

painter IPainter

Specifies IPainter object used to draw text and graphic primitives.

startLine int

Specifies first line of content to paint.

rect Rectangle

Rectangular area of control to draw.

location Point

The Point value that specifies start position to draw content from.

scaleX float

Horizontal scale of the transformation.

scaleY float

Vertical scale of the transformation.

specialPaint bool

Reserved for internal use. Used for Print and Print preview.

inPrinting bool

Reserved for internal use. Used for Print and Print preview.