public void ReplaceWith( Stream stream )
Public Sub ReplaceWith ( stream As Stream )
This method respects the WriteWithoutCompression setting.
This method does not update MimeType property. You should update the property yourselves if the new content has different MIME type.
Replacing contents of an embedded file can cause unexpected results if the new contents has different structure or broken in any way.