Back to Devexpress

Document.FlatOpcTemplateBytes Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-4a3f1767.md

latest1.7 KB
Original Source

Document.FlatOpcTemplateBytes Property

Gets or sets the document content as an array of bytes in FlatOpcTemplate (Microsoft Word XML Template, .xml) format.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
byte[] FlatOpcTemplateBytes { get; set; }
vb
Property FlatOpcTemplateBytes As Byte()

Property Value

TypeDescription
Byte[]

The document content in FlatOpcTemplate format.

|

Remarks

Use the RichEditDocumentServer.SaveDocument or Document.SaveDocument method to save the document in FlatOpcTemplate (.xml) format. The SubDocument.GetFlatOpcTemplateBytes method gets the content of the specified document range in FlatOpcTemplate format.

See Also

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace