COleDocObjectItem::OnPreparePrinting

static BOOL OnPreparePrinting( CView* pCaller**, CPrintInfo*** pInfo**, BOOL** bPrintAll = TRUE );

Return Value

Nonzero if successful; otherwise 0.

Parameters

pCaller

A pointer to a CView object that is sending the print command.

pInfo

A pointer to a CPrintInfo object that describes the job to be printed.

bPrintAll

Specifies whether the entire document is to be printed.

Remarks

This member function is called by the framework to prepare a document for printing.

COleDocObjectItem OverviewClass MembersHierarchy Chart

See Also   COleDocObjectItem::OnPrint