keep_image_stream_open property

ImageSavingArgs.keep_image_stream_open property

Specifies whether Aspose.Words should keep the stream open or close it after saving an image.

@property
def keep_image_stream_open(self) -> bool:
    ...

@keep_image_stream_open.setter
def keep_image_stream_open(self, value: bool):
    ...

Remarks

Default is False and Aspose.Words will close the stream you provided in the ImageSavingArgs.image_stream property after writing an image into it. Specify True to keep the stream open.

See Also