CloudmersiveConvertClient.ConvertDocumentAutodetectToPdfAsync 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 PDF
public virtual System.Threading.Tasks.Task<byte[]> ConvertDocumentAutodetectToPdfAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertDocumentAutodetectToPdfAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.ConvertDocumentAutodetectToPdfAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overridable Function ConvertDocumentAutodetectToPdfAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Convert Document to PDF response.
Remarks
Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files.