CloudmersiveConvertClient.ConvertWebUrlToScreenshotAsync 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.
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
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.