Click or drag to resize

OpenXmlReaderCreate(OpenXmlPart, Boolean, Boolean) Method

Creates an OpenXmlReader from the specified OpenXmlPart and Boolean values.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static OpenXmlReader Create(
	OpenXmlPart openXmlPart,
	bool readMiscNodes,
	bool ignoreWhitespace
)

Parameters

openXmlPart  OpenXmlPart
The OpenXmlPart to read.
readMiscNodes  Boolean
Specify false to indicate to the reader to skip all miscellaneous nodes. The default value is false.
ignoreWhitespace  Boolean
Specify true to indicate to the reader to ignore insignificant white space. The default value is true.

Return Value

OpenXmlReader
The newly created OpenXmlReader.
See Also