Jaa


PrintDocument.SetPreviewPage(Int32, UIElement) Method

Definition

Sets the specified print page as the current print preview page.

public:
 virtual void SetPreviewPage(int pageNumber, UIElement ^ pageVisual) = SetPreviewPage;
void SetPreviewPage(int const& pageNumber, UIElement const& pageVisual);
public void SetPreviewPage(int pageNumber, UIElement pageVisual);
function setPreviewPage(pageNumber, pageVisual)
Public Sub SetPreviewPage (pageNumber As Integer, pageVisual As UIElement)

Parameters

pageNumber
Int32

int

The sequence number of the page to preview.

pageVisual
UIElement

The root visual object for the requested print page.

Applies to

See also