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