CMFCRibbonBar::EnablePrintPreview
TOC
Collapse the table of content
Expand the table of content

CMFCRibbonBar::EnablePrintPreview

 

Enables or disables the Print Preview feature.

void EnablePrintPreview(
   BOOL bEnable = TRUE 
);

[in] bEnable

TRUE to enable the Print Preview feature; FALSE to disable the Print Preview feature.

If bEnable is FALSE and a print preview category exists, it is deleted.

By default the Print Preview feature is enabled.

Requirements

Header: afxribbonbar.h

Show:
© 2016 Microsoft