PrintDocument.SetPreviewPage(Int32, UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.