| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
bases._Type0 --+
|
_PM_Type0 --+
|
Paper
Python Paper Type, wrapping an opaque ObjC
PMPaper.
Note: Paper sizes are measured in points.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Properties | |
|
height Get the paper height in points ( float).
|
|
|
ID Get the paper IDentifier ( str).
|
|
|
isCustom True if this is a custom paper ( bool).
|
|
|
margins Get the paper margins (PaperMargins). |
|
|
name Get the paper name ( str).
|
|
|
PPD Get the paper's PPD name ( URL).
|
|
|
printer Get the printer corresponding to this paper ( Printer) or
None.
|
|
|
size2inch Get 2-tuple (width, height) in inch ( floats).
|
|
|
size2mm Get 2-tuple (width, height) in millimeter ( floats).
|
|
|
width Get the paper width in points ( float).
|
|
|
Inherited from Inherited from Inherited from |
|
| Method Details |
New Paper
from a paper name (
|
Get the paper's localized name for a printer (
|
| Property Details |
heightGet the paper height in points (
|
IDGet the paper IDentifier (
|
isCustomTrue if this is a custom paper (
|
marginsGet the paper margins (PaperMargins).
|
nameGet the paper name (
|
PPDGet the paper's PPD name (
|
printerGet the printer corresponding to this paper (
|
size2inchGet 2-tuple (width, height) in inch (
|
size2mmGet 2-tuple (width, height) in millimeter
(
|
widthGet the paper width in points (
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Aug 12 21:20:50 2018 | http://epydoc.sourceforge.net |