Share via


PrintDocument.AddPage(UIElement) Method

Definition

Adds a XAML root visual element to the print list.

public:
 virtual void AddPage(UIElement ^ pageVisual) = AddPage;
void AddPage(UIElement const& pageVisual);
public void AddPage(UIElement pageVisual);
function addPage(pageVisual)
Public Sub AddPage (pageVisual As UIElement)

Parameters

pageVisual
UIElement

The root visual element of the page to add to the print list.

Applies to