CBCGPRibbonButton* CBCGPRibbonBackstageViewPanel::AddPrintPreview | ( | UINT | uiCommandID, |
LPCTSTR | lpszLabel, | ||
UINT | uiWaterMarkResID = 0 , |
||
COLORREF | clrBase = (COLORREF)-1 , |
||
int | nPrintMaxZoomLevel = 100 , |
||
BOOL | bAddToBottom = FALSE |
||
) |
Adds a "Print" page.
uiCommandID | Specifies view's command ID. |
lpszLabel | Specifies view's label. |
uiWaterMarkResID | Identifier for the water mark resource. |
clrBase | The watermark resource base colour. This color will be automatically addapted to the current color theme. |
nPrintMaxZoomLevel | Specifies a maximal zoom level (by default is 100%). |
bAddToBottom | Specifies whether item is located at the panel's bottom. |