Click or drag to resize

OpenXmlWriterCreate(Stream, Encoding) Method

Create an OpenXmlWriter on given stream

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public static OpenXmlWriter Create(
	Stream partStream,
	Encoding encoding
)

Parameters

partStream  Stream
The target stream.
encoding  Encoding
The encoding for the XML stream.

Return Value

OpenXmlWriter
The created OpenXmlWriter instance.
See Also