The control's key property is
Document
, which sets the document to be previewed. The document must be a
PrintDocument
object. For an overview of creating documents for printing, see
PrintDocument Component Overview
and
Windows Forms Print Support
. The
Columns
and
Rows
properties determine the number of pages displayed horizontally and vertically on the control. Antialiasing can make the text appear smoother, but it can also make the display slower; to use it, set the
UseAntiAlias
property to
true
.