#include <wx/cmndata.h>
This class represents a range of pages to be printed.
- See also
- wxPrintDialogData
- Since
- 3.3.0
◆ wxPrintPageRange() [1/2]
wxPrintPageRange::wxPrintPageRange |
( |
| ) |
|
|
default |
Default constructor creates an uninitialized range.
◆ wxPrintPageRange() [2/2]
wxPrintPageRange::wxPrintPageRange |
( |
int |
from, |
|
|
int |
to |
|
) |
| |
Constructor creating a range from from to to (inclusive).
Parameters must be valid, i.e. from must be strictly positive and to must be greater or equal to from.
◆ GetNumberOfPages()
int wxPrintPageRange::GetNumberOfPages |
( |
| ) |
const |
Return the number of pages in this range if it is valid.
◆ IsValid()
bool wxPrintPageRange::IsValid |
( |
| ) |
const |
Return true if both components are initialized correctly.
◆ fromPage
int wxPrintPageRange::fromPage = 0 |
◆ toPage
int wxPrintPageRange::toPage = 0 |