PdfToSvg.NET
  • Get started
  • Documentation
  • License
  • v0.11.0
PdfToSvg
Image Class
Image Methods
GetContent
GetContentAsync
ToDataUrl
ToDataUrlAsync

Image.ToDataUrlAsync Method

Generates a data URL for this image asynchronously.

public Task<string> ToDataUrlAsync(
	CancellationToken cancellationToken
)
View source
Namespace
PdfToSvg
Package
PdfToSvg.NET (since v0.8.0)

Parameters

cancellationToken  CancellationToken
Cancellation token that can be used to cancel the operation.

Return Value

Task<String>
Data URL for this image.

See Also

Image Class
PdfToSvg Namespace
Made by Daniel Mester Pirttijärvi
GitHub Contact