Condividi tramite


COleDocObjectItem::OnPrint

This member function is called by the framework to print a document.

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

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.

Requirements

Header: afxole.h

See Also

Reference

COleDocObjectItem Class

Hierarchy Chart

COleDocObjectItem::OnPreparePrinting

Other Resources

COleDocObjectItem Members