Canvas - You create a Canvas that has the same size of the print area available, depending on the printer selected:
Code:
pd. PrintPage + = (s, a) =>
(
canvas = new Canvas () (Width = a.PrintableArea.Width, Height = a.PrintableArea.Height);
...
Header - For each page to print will add a header containing a logo to the left of the header title centered, and text indicating the current page number.
Item List - This is the most important part of this scenario. We need to stand the fact that there will be more than one page when printing. In the example in this article we have an object called Rocket (List <Album>) which has a total of 42 albums.
Bookmarks