Click or drag to resize

CSPhantomJSImageFormat Property

Relevant when DestinationFormat is Image. The output can be PNG or JPEG image format. For example: "1920px" will capture the entire page with window width of 1920px. "800px*600px" will capture a window of 800x600. Default is 1920px.

Namespace:  CSPhantomJS
Assembly:  CSPhantomJS (in CSPhantomJS.dll) Version: 1.0.0
Syntax
public string ImageFormat { get; set; }

Property Value

Type: String
See Also