Click or drag to resize

CSPhantomJS Properties

The CSPhantomJS type exposes the following members.

Properties
  NameDescription
Public propertyArgsDirect
Set your own arguments to the command of the process.
Public propertyDestinationFormat
The destination media format of the destination file. This can be image or PDF. Default is Image.
Public propertyImageFormat
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.
Public propertyOutFile
The destination file name (the path and the file name).
Public propertyPageFormat
Relevant when DestinationFormat is PDF. Examples: "5in*7.5in", "10cm*20cm", "A4", "Letter".
Public propertyPhantomJSLibsPath
The path and the file name of the pahntomjs.exe file with the libraries.
Public propertyURL
The URL address to capture, this should include the protocol (http:// https:// etc).
Public propertyUserKey
The user key.
Public propertyUserName
The user name.
Top
See Also