CloudmersiveConvertClient.ConvertDocumentHtmlToPdfAsync Method

Definition

Convert HTML document file to PDF Document

public virtual System.Threading.Tasks.Task<byte[]> ConvertDocumentHtmlToPdfAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertDocumentHtmlToPdfAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.ConvertDocumentHtmlToPdfAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overridable Function ConvertDocumentHtmlToPdfAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parameters

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Byte[]>

The Convert HTML document file to PDF Document response.

Remarks

Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.

Applies to