IdxRichEditSubDocument.GetOpenXmlBytes(IdxRichEditDocumentRange) Method
In This Article
Returns the content of the specified document range in Office Open XML (DOCX) format.
#Declaration
Delphi
function GetOpenXmlBytes(const ARange: IdxRichEditDocumentRange): TBytes; overload;
#Parameters
Name | Type |
---|---|
ARange | Idx |
#Returns
Type |
---|
TBytes |
#Remarks
The GetOpenXMLBytes function returns an array of bytes in Office Open XML format obtained from the source document range passed as the ARange parameter. Since the returned data is in the DOCX format, its properties are affected by the current OpenXML export settings specified by the Options.Export.OpenXml property.
Note
In order to provide support for the Office Open XML (DOCX) format, add the dx
See Also