CSPhantomJS Properties |
The CSPhantomJS type exposes the following members.
Name | Description | |
---|---|---|
ArgsDirect |
Set your own arguments to the command of the process.
| |
DestinationFormat |
The destination media format of the destination file. This can be image or PDF. Default is Image.
| |
ImageFormat |
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.
| |
OutFile |
The destination file name (the path and the file name).
| |
PageFormat |
Relevant when DestinationFormat is PDF. Examples: "5in*7.5in", "10cm*20cm", "A4", "Letter".
| |
PhantomJSLibsPath |
The path and the file name of the pahntomjs.exe file with the libraries.
| |
URL |
The URL address to capture, this should include the protocol (http:// https:// etc).
| |
UserKey |
The user key.
| |
UserName |
The user name.
|