Click or drag to resize

PrinterExposeEvent Class

X#
Provides facilities for determining the number of the page to be painted, as well as the area of the page to be painted.
Inheritance Hierarchy
Object
  Event
    PrinterExposeEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CLASS PrinterExposeEvent INHERIT Event
Request Example View Source

The PrinterExposeEvent type exposes the following members.

Constructors
  NameDescription
Public methodPrinterExposeEvent
Initializes a new instance of the PrinterExposeEvent class
Top
Properties
  NameDescription
Public propertyExposedArea
A bounding box representing the area of the page to be printed, in printer coordinates.
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyPageNo
A numeric value representing the number of the page to be painted.
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
Some printer drivers may request the page to be painted in segments ("banding printer"). PrinterExposeEvent:ExposedArea defines the area of the page to be painted, in the form of a BoundingBox object, in printer coordinates. If the full page is requested, the bounding box is equal to the full page size.
See Also

Reference