Office .NET Class Library
Show/Hide TOC

# WordDocumentGetBytes Method

Converts the document to an array of bytes.

## Definition

Namespace: Independentsoft.Office.Word
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public override byte[] GetBytes()

VB

    Public Overrides Function GetBytes As Byte()

#### Return Value

Byte
An array of bytes.

## See Also

#### Reference

WordDocument Class
Independentsoft.Office.Word Namespace