CloudmersiveConvertClient.ConvertWebUrlToPdfAsync Method

Definition

Convert a URL to PDF

public virtual System.Threading.Tasks.Task<byte[]> ConvertWebUrlToPdfAsync(Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest input, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertWebUrlToPdfAsync : Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.ConvertWebUrlToPdfAsync : Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overridable Function ConvertWebUrlToPdfAsync (input As ScreenshotRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parameters

input
ScreenshotRequest

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Byte[]>

The Convert a URL to PDF response.

Remarks

Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.

Applies to