Tag Archives: Document

Provide printing and print previews with advanced features for Windows Forms applications in C#

The example Provide print previews and printing for Windows Forms applications in C# shows how to create a basic printout by handling a PrintDocument object’s PrintPage event. This example shows how to use two other PrintDocument events: BeginPrint and QueryPageSettings. … Continue reading

Posted in graphics, printing | Tagged , , , , , , , , , , , , , , , , , | 1 Comment

Provide print previews and printing for Windows Forms applications in C#

This example shows how you can support print previews and printing for a Windows Forms application in C#. A PrintDocument plays a central role in printing and print previews. It raises its PrintPage event to generate graphics for printing. A … Continue reading

Posted in graphics, printing | Tagged , , , , , , , , , , , , , , , | 4 Comments