EMA3D API Documentation
EMA3D API Documentation
EMA3D Scripting API
EMC Plus API V25 Documentation
DocumentFormat Namespaces
DocumentFormat.OpenXml
OpenXmlPartRootElement Class
OpenXmlPartRootElement Methods
Save Method
Save Method
Save(Stream) Method
Open
Xml
Part
Root
Element
Save Method
Saves the data in the DOM tree back to the part. This method can be called multiple times and each time it is called, the stream will be flushed.
Namespace:
DocumentFormat.OpenXml
Assembly:
DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
C#
VB
C++
F#
Copy
public
void
Save
()
Public
Sub
Save
public
:
void
Save
()
member
Save
:
unit
->
unit
Exceptions
Exception
Condition
InvalidOperationException
Thrown when the tree is not associated with a part.
Remarks
Call this method explicitly to save the changes in the DOM tree.
See Also
Reference
OpenXmlPartRootElement Class
Save Overload
DocumentFormat.OpenXml Namespace