Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SubDocument.GetOpenXmlBytes Method

Name Parameters Description
GetOpenXmlBytes(DocumentRange, OpenXmlDocumentExporterOptions) range, options Exports the content of the specified document range as a document in Office Open XML (Docx) format and returns a byte array with this document.
GetOpenXmlBytes(DocumentRange) range Exports the content of the specified document range as a document in Office Open XML (Docx) format and returns a byte array with this document.