The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SubDocument.GetOpenXmlBytes Method

Name Parameters Description
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.

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.