Converts a given document to another supported format.
public async Task<byte[]> Convert(byte[] document, TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat returnFormat, bool flattenFormFields)Public Async Function Convert(ByVal document As Byte(), ByVal returnFormat As TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat, ByVal flattenFormFields As Boolean) As Task(Of Byte())public async Task<byte[]> Convert(byte[] document, TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat returnFormat)Public Async Function Convert(ByVal document As Byte(), ByVal returnFormat As TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat) As Task(Of Byte())public async Task<byte[]> Convert(byte[] document)Public Async Function Convert(ByVal document As Byte()) As Task(Of Byte())| Parameter | Description |
|---|---|
| document | The document to be converted as a byte array. |
| return |
Specifies the format of the created document. |
| flatten |
Specifies whether form fields in the document should be replaced by their content. |