phoenix_title wx.PrintPageRange

This class represents a range of pages to be printed.

Added in version 4.3/wxWidgets-3.3.0.


class_hierarchy Class Hierarchy

Inheritance diagram for class PrintPageRange:

method_summary Methods Summary

__init__

Default constructor creates an uninitialized range.

GetNumberOfPages

Return the number of pages in this range if it is valid.

IsValid

Return True if both components are initialized correctly.


property_summary Properties Summary

NumberOfPages

See GetNumberOfPages

fromPage

A public C++ attribute of type int.

toPage

A public C++ attribute of type int.


api 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)

overload Overloaded Implementations:



__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 True if 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.