Public Member Functions | |
CPrintSettings () | |
Constructor. | |
CPrintSettings (const CPrintSettings &settings) | |
Copy constructor. | |
~CPrintSettings () | |
Destructor. | |
CPrintSettings & | operator= (const CPrintSettings &settings) |
Operator =. | |
Set- methods | |
void | SetPrintHeader (bool enable) |
Enables grid header printing. | |
void | SetRepeatHeader (bool enable) |
Enables grid header printing on every page. | |
void | SetPrintFixedRows (bool enable) |
Enables printing of the grid's fixed context. | |
void | SetPrintScrollableRows (bool enable) |
Enables printing of the grid's scrollable context. | |
void | SetZoomFactor (double zoom) |
Sets a new zoom factor. | |
void | SetTopMargin (int margin) |
Sets a new margin in millemeters from the top of a page. | |
void | SetBottomMargin (int margin) |
Sets a new margin in millemeters from the bottom of a page. | |
void | SetLeftMargin (int margin) |
Sets a new margin in millemeters from the left of a page. | |
void | SetRightMargin (int margin) |
Sets a new margin in millemeters from the right of a page. | |
Get- methods | |
bool | GetPrintHeader () const |
Gets the value indicating whether the a grid's header can be printed. | |
bool | GetRepeatHeader () const |
Indicates whether grid's header can be repeated on every page. | |
bool | GetPrintFixedRows () const |
Indicates whether the grid can print its fixed content. | |
bool | GetPrintScrollableRows () const |
Indicates whether the grid can print its scrollable content. | |
double | GetZoomFactor () const |
Gets a zoom factor. | |
int | GetTopMargin () const |
Gets a margin in millemeters from a top of the page. | |
int | GetBottomMargin () const |
Gets a margin in millemeters from a bottom of the page. | |
int | GetLeftMargin () const |
Gets a margin in millemeters from a left of the page. | |
int | GetRightMargin () const |
Gets a margin in millemeters from a right of the page. |
CPrintSettings | ( | const CPrintSettings & | settings | ) |
Copy constructor.
[in] | settings | Settings to be copied |
void SetPrintHeader | ( | bool | enable | ) |
Enables grid header printing.
[in] | enable | True if the header can be printed. Otherwise - false. |
void SetRepeatHeader | ( | bool | enable | ) |
Enables grid header printing on every page.
[in] | enable | True if the header can be repeated on every page. Otherwise - false. |
void SetPrintFixedRows | ( | bool | enable | ) |
Enables printing of the grid's fixed context.
[in] | enable | True if the grid can print its fixed content. Otherwise - false. |
void SetPrintScrollableRows | ( | bool | enable | ) |
Enables printing of the grid's scrollable context.
[in] | enable | True if the grid can print its scrollable content. Otherwise - false. |
void SetZoomFactor | ( | double | zoom | ) |
Sets a new zoom factor.
[in] | zoom | New zoom factor |
void SetTopMargin | ( | int | margin | ) |
Sets a new margin in millemeters from the top of a page.
[in] | margin | New margin in millemeters from the top of a page |
void SetBottomMargin | ( | int | margin | ) |
Sets a new margin in millemeters from the bottom of a page.
[in] | margin | New margin in millemeters from the bottom of a page |
void SetLeftMargin | ( | int | margin | ) |
Sets a new margin in millemeters from the left of a page.
[in] | margin | New margin in millemeters from the left of a page |
void SetRightMargin | ( | int | margin | ) |
Sets a new margin in millemeters from the right of a page.
[in] | margin | New margin in millemeters from the right of a page |
bool GetPrintHeader | ( | ) | const |
Gets the value indicating whether the a grid's header can be printed.
bool GetRepeatHeader | ( | ) | const |
Indicates whether grid's header can be repeated on every page.
bool GetPrintFixedRows | ( | ) | const |
Indicates whether the grid can print its fixed content.
bool GetPrintScrollableRows | ( | ) | const |
Indicates whether the grid can print its scrollable content.
double GetZoomFactor | ( | ) | const |
Gets a zoom factor.
int GetTopMargin | ( | ) | const |
Gets a margin in millemeters from a top of the page.
int GetBottomMargin | ( | ) | const |
Gets a margin in millemeters from a bottom of the page.
int GetLeftMargin | ( | ) | const |
Gets a margin in millemeters from a left of the page.
int GetRightMargin | ( | ) | const |
Gets a margin in millemeters from a right of the page.
CPrintSettings & operator= | ( | const CPrintSettings & | settings | ) |
Operator =.
[in] | settings | Settings to be copied |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |