Converts a given document to another supported format.

Convert(Byte[], TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat, Bool)

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())

Convert(Byte[], TXTextControl.DocumentServices.DocumentProcessing.ReturnFormat)

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())

Convert(Byte[])

public async Task<byte[]> Convert(byte[] document)
Public Async Function Convert(ByVal document As Byte()) As Task(Of Byte())

Parameters

Parameter Description
document The document to be converted as a byte array.
returnFormat Specifies the format of the created document.
flattenFormFields Specifies whether form fields in the document should be replaced by their content.