CloudmersiveConvertClient.ConvertDocumentAutodetectToTxtAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert Document to Text (txt)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.CloudmersiveConvert.Models.TextConversionResult> ConvertDocumentAutodetectToTxtAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertDocumentAutodetectToTxtAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.CloudmersiveConvert.Models.TextConversionResult>
override this.ConvertDocumentAutodetectToTxtAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.CloudmersiveConvert.Models.TextConversionResult>
Public Overridable Function ConvertDocumentAutodetectToTxtAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of TextConversionResult)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Convert Document to Text (txt) response.
Remarks
Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.