Aspose::Words::Saving::DocumentPartSavingArgs::get_KeepDocumentPartStreamOpen method

DocumentPartSavingArgs::get_KeepDocumentPartStreamOpen method

Specifies whether Aspose.Words should keep the stream open or close it after saving a document part.

bool Aspose::Words::Saving::DocumentPartSavingArgs::get_KeepDocumentPartStreamOpen() const

Remarks

Default is false and Aspose.Words will close the stream you provided in the DocumentPartStream property after writing a document part into it. Specify true to keep the stream open. Please note that the main output stream provided in the call to Save() or Save() will never be closed by Aspose.Words even if KeepDocumentPartStreamOpen is set to false.

See Also