CGXGridCore::SetPrinting

virtual void SetPrinting(BOOL b, BOOL bClientToRect = FALSE);?

b

Specifies if the priniting-mode should be set (TRUE) or reset (FALSE).

bClientToRect

Specifies if the grid should use the current client area (determined with GetClientRect) as print area. (An example is the preview-dialog in the page-setup dialog).

Remarks

Overridable method which initializes or resets the printing-mode.

Normally, this method is called when printing or print-preview is done. Several attributes such as the display area, the font height, the zooming factor and the current cell have different values when the grid is in printing-mode.

See Also

 CGXGridCore::IsPrinting

CGXGridCore

 Class Overview |  Class Members