Role of the View in Printing

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Role of the View in Printing.

Your view also plays two important roles in printing its associated document.

The view:

  • Uses the same OnDraw code to draw on the printer as to draw on the screen.

  • Manages dividing the document into pages for printing.

For more information about printing and about the view's role in printing, see Printing and Print Preview.

See Also

Using Views