JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the PrintPreviewControl Class

As discussed in the In Depth section of this chapter, you can use PrintPreview Control objects to create your own custom print previews. Here's the class hierarchy for this control:

Object
   MarshalByRefObject
      Component
         Control
            PrintPreviewControl

You can find the notable public properties of PrintPreviewControl objects in Table 9.31. Note that I'm not listing the members this class inherits from the Control class, which you can find in Tables 5.1, 5.2, and 5.3.

Table 9.31: Noteworthy public properties of PrintPreviewControl objects.

Property

Means

AutoZoom

If True (the default), resizing the control automatically zooms to make all contents visible.

Columns

Gets/sets the number of pages displayed horizontally.

Rows

Gets/sets the number of pages displayed vertically.

StartPage

Gets/sets the page number of the upper left page.

Zoom

Gets/sets a value specifying how large the pages will appear.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor