Poppler.PSFile¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Poppler.PSFile(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(document, filename, first_page, n_pages)¶
- Parameters:
document (
Poppler.Document
) – aPoppler.Document
filename (
str
) – the path of the output filenamefirst_page (
int
) – the first page to printn_pages (
int
) – the number of pages to print
- Returns:
- Return type:
Create a new postscript file to render to
- classmethod new_fd(document, fd, first_page, n_pages)¶
- Parameters:
document (
Poppler.Document
) – aPoppler.Document
fd (
int
) – a valid file descriptor open for writingfirst_page (
int
) – the first page to printn_pages (
int
) – the number of pages to print
- Returns:
- Return type:
Create a new postscript file to render to. Note that this function takes ownership of fd; you must not operate on it again, nor close it.
New in version 21.12.0.
- free()¶
Frees self