PdfDevice constructor
init
Creates the new instance.
def __init__(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The output stream containing PDF. |
init
Creates the new instance with specified media size.
def __init__(self, stream, page_size):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The output stream containing PDF. |
page_size | aspose.pydrawing.Size | The size of the device output media. |
See Also
- module
aspose.page.xps.presentation.pdf
- class
PdfDevice