CloudmersiveConvertClient.ConvertWebUrlToScreenshotAsync Method

Definition

Take screenshot of URL

public virtual System.Threading.Tasks.Task<byte[]> ConvertWebUrlToScreenshotAsync(Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest input, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertWebUrlToScreenshotAsync : Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.ConvertWebUrlToScreenshotAsync : Azure.Connectors.Sdk.CloudmersiveConvert.Models.ScreenshotRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overridable Function ConvertWebUrlToScreenshotAsync (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 Take screenshot of URL response.

Remarks

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

Applies to