wx.PrintPageRange¶
This class represents a range of pages to be printed.
Added in version 4.3/wxWidgets-3.3.0.
See also
Class Hierarchy¶
Methods Summary¶
Default constructor creates an uninitialized range. |
|
Return the number of pages in this range if it is valid. |
|
Return |
Properties Summary¶
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Class API¶
- class wx.PrintPageRange(object)¶
Possible constructors:
PrintPageRange() -> None PrintPageRange(_from, to) -> None
This class represents a range of pages to be printed.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
Default constructor creates an uninitialized range.
- Return type:
None
__init__ (self, _from, 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.
- Parameters:
from (int)
to (int)
- Return type:
None
- GetNumberOfPages(self)¶
Return the number of pages in this range if it is valid.
- Return type:
int
- IsValid(self)¶
Return
Trueif both components are initialized correctly.- Return type:
bool
Properties¶
- NumberOfPages¶
See
GetNumberOfPages
- fromPage¶
A public C++ attribute of type
int.
- toPage¶
A public C++ attribute of type
int.
