Skip to main content

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.