Skip to main content

Html2CanvasOptions

Namespace: Wisej.Web.Ext.Html2Canvas

Assembly: Wisej.Web.Ext.Html2Canvas (4.1.0.0)

Defines the options to pass to the Screenshot and ScreenshotAsync methods and their overloads.

public class Html2CanvasOptions

The fields are passed to the html2canvas call; see configuration.

Constructors​

Instance member Html2CanvasOptions()​

Initializes a new instance of Html2CanvasOptions.

Fields​

NameTypeDescriptionValue
BackgroundColorColorCanvas background color, if none is specified in DOM. Set null for transparent.
ScaleInt32The scale to use for rendering. Defaults to the browsers device pixel ratio.