Public Member Functions | List of all members
IPrintEventHandler Struct Referenceabstract

An event handler interface for responding to per-page printing system events. More...

#include <IEvent.h>

Inheritance diagram for IPrintEventHandler:
IEventHandlerPrioritized

Public Member Functions

virtual void BeginPrintPage (IBeginPrintPageParamP param)=0
 Called when MicroStation begins printing a single page. More...
 
virtual void EndPrintPage (IEndPrintPageParamP param)=0
 Called when MicroStation has finished printing a single page. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IEventHandlerPrioritized
virtual int _GetHandlerPriority ()=0
 Query the priority of the event handler. More...
 

Detailed Description

An event handler interface for responding to per-page printing system events.

Remarks
When printing from Print Organizer, these events are called for each page in the context of the background worker process. When printing from the single-Print dialog, these events are called in the context of the primary (interactive) process. More print events are available by implementing additional interfaces such as IPrintEventHandler2 and IPrintSetEventHandler in the same class implementing this interface.

Member Function Documentation

virtual void BeginPrintPage ( IBeginPrintPageParamP  param)
pure virtual

Called when MicroStation begins printing a single page.

Remarks
The printer driver has already been loaded and initialized.
Parameters
[in]paramEvent parameters
virtual void EndPrintPage ( IEndPrintPageParamP  param)
pure virtual

Called when MicroStation has finished printing a single page.

Remarks
This event is called even if the print job fails. Use param.GetIsSuccess to query the job status. The printer driver is still loaded at this point.
Parameters
[in]paramEvent parameters

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.