to_pdf method
to_pdf(file_name)
Saves the shape to a pdf file.
def to_pdf(self, file_name):
...
Parameter | Type | Description |
---|---|---|
file_name | str | the pdf file name with full path |
to_pdf(stream)
Creates the shape pdf and saves it to a stream.
def to_pdf(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The output stream. |
See Also
- module aspose.diagram
- class Shape