page_stream property

PageSavingArgs.page_stream property

Allows to specify the stream where the document page will be saved to.

@property
def page_stream(self) -> io.BytesIO:
    ...

@page_stream.setter
def page_stream(self, value: io.BytesIO):
    ...

Remarks

This property allows you to save document pages to streams instead of files.

The default value is None. When this property is None, the document page will be saved to a file specified in the PageSavingArgs.page_file_name property.

If both PageSavingArgs.page_stream and PageSavingArgs.page_file_name are set, then PageStream will be used.

See Also