Editar

Compartir a través de


SKDocument.BeginPage Method

Definition

Overloads

BeginPage(Single, Single)

Begins a new page for the document, returning the canvas that will draw into the page.

BeginPage(Single, Single, SKRect)

Begins a new page for the document, returning the canvas that will draw into the page.

BeginPage(Single, Single)

Begins a new page for the document, returning the canvas that will draw into the page.

public SkiaSharp.SKCanvas BeginPage (float width, float height);

Parameters

width
Single

The width of the page.

height
Single

The height of the page.

Returns

Returns a canvas for the new page.

Remarks

The document owns this canvas, and it will go out of scope when EndPage() or Close() is called, or the document is deleted.

Applies to

BeginPage(Single, Single, SKRect)

Begins a new page for the document, returning the canvas that will draw into the page.

public SkiaSharp.SKCanvas BeginPage (float width, float height, SkiaSharp.SKRect content);

Parameters

width
Single

The width of the page.

height
Single

The height of the page.

content
SKRect

The area for the page contents.

Returns

Returns a canvas for the new page.

Remarks

The document owns this canvas, and it will go out of scope when EndPage() or Close() is called, or the document is deleted.

Applies to