Contents Up Previous Next

wxPrintData: wxObject

This class holds a variety of information related to print dialogs.

wxPrintData::wxPrintData
wxPrintData::~wxPrintData
wxPrintData::EnableHelp
wxPrintData::EnablePageNumbers
wxPrintData::EnablePrintToFile
wxPrintData::EnableSelection
wxPrintData::GetAllPages
wxPrintData::GetCollate
wxPrintData::GetFromPage
wxPrintData::GetMaxPage
wxPrintData::GetMinPage
wxPrintData::GetNoCopies
wxPrintData::GetToPage
wxPrintData::SetCollate
wxPrintData::SetFromPage
wxPrintData::SetMaxPage
wxPrintData::SetMinPage
wxPrintData::SetNoCopies
wxPrintData::SetPrintToFile
wxPrintData::SetSetupDialog
wxPrintData::SetToPage


wxPrintData::wxPrintData

void wxPrintData(void)

Constructor.


wxPrintData::~wxPrintData

void ~wxPrintData(void)

Destructor.


wxPrintData::EnableHelp

void EnableHelp(Bool flag)

Enables or disables the 'Help' button.


wxPrintData::EnablePageNumbers

void EnablePageNumbers(Bool flag)

Enables or disables the 'Page numbers' controls.


wxPrintData::EnablePrintToFile

void EnablePrintToFile(Bool flag)

Enables or disables the 'Print to file' checkbox.


wxPrintData::EnableSelection

void EnableSelection(Bool flag)

Enables or disables the 'Selection' radio button.


wxPrintData::GetAllPages

Bool GetAllPages(void)

Returns TRUE if the user requested that all pages be printed.


wxPrintData::GetCollate

Bool GetCollate(void)

Returns TRUE if the user requested that the document(s) be collated.


wxPrintData::GetFromPage

int GetFromPage(void)

Returns the from page number, as entered by the user.


wxPrintData::GetMaxPage

int GetMaxPage(void)

Returns the maximum page number.


wxPrintData::GetMinPage

int GetMinPage(void)

Returns the minimum page number.


wxPrintData::GetNoCopies

int GetNoCopies(void)

Returns the number of copies requested by the user.


wxPrintData::GetToPage

int GetToPage(void)

Returns the to page number, as entered by the user.


wxPrintData::SetCollate

void SetCollate(Bool flag)

Sets the 'Collate' checkbox to TRUE or FALSE.


wxPrintData::SetFromPage

void SetFromPage(int page)

Sets the from page number.


wxPrintData::SetMaxPage

void SetMaxPage(int page)

Sets the maximum page number.


wxPrintData::SetMinPage

void SetMinPage(int page)

Sets the minimum page number.


wxPrintData::SetNoCopies

void SetNoCopies(int n)

Sets the default number of copies to be printed out.


wxPrintData::SetPrintToFile

void SetPrintToFile(Bool flag)

Sets the 'Print to file' checkbox to TRUE or FALSE.


wxPrintData::SetSetupDialog

void SetSetupDialog(Bool flag)

Determines whether the dialog to be shown will be the Print dialog (pass FALSE) or Print Setup dialog (pass TRUE).


wxPrintData::SetToPage

void SetToPage(int page)

Sets the to page number.