GetCanvas Method

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Gets the canvas of a currently displayed page.

Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public Canvas GetCanvas(
	int pageNumber
)
Visual Basic
Public Function GetCanvas ( _
	pageNumber As Integer _
) As Canvas
Visual C++
public:
Canvas^ GetCanvas(
	int pageNumber
)

Parameters

pageNumber
Type: System..::..Int32
The page number of the requested canvas.

Return Value

The canvas element representing the page. If the page is not visible, return value is null.

See Also