BOOL CBCGPRibbonBackstageViewPanel::AttachPrintPreviewToItem | ( | UINT | uiID, |
BOOL | bByCommand = TRUE , |
||
UINT | uiWaterMarkResID = 0 , |
||
COLORREF | clrBase = (COLORREF)-1 , |
||
int | nPrintMaxZoomLevel = 100 |
||
) |
Attaches a "Print" page to existing item.
uiID | Specifies view's command ID or zero-based index. |
bByCommand | Specifies whether uiID is a command ID or index. |
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%). |