PrintDocument.SetPreviewPage(Int32, UIElement) PrintDocument.SetPreviewPage(Int32, UIElement) PrintDocument.SetPreviewPage(Int32, UIElement) PrintDocument.SetPreviewPage(Int32, UIElement) Method

Definition

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

public : void SetPreviewPage(int pageNumber, UIElement pageVisual)
void SetPreviewPage(int32_t pageNumber, UIElement pageVisual) const;
public void SetPreviewPage(Int32 pageNumber, UIElement pageVisual)
Public Sub SetPreviewPage(pageNumber As Int32, pageVisual As UIElement)

Parameters

pageNumber
Int32 Int32

The sequence number of the page to preview.

pageVisual
UIElement UIElement

The root visual object for the requested print page.

See also