CSPhantomJS Class |
Namespace: CSPhantomJS
The CSPhantomJS type exposes the following members.
| Name | Description | |
|---|---|---|
| CSPhantomJS |
Constructor
|
| 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.
|
| Name | Description | |
|---|---|---|
| Abort |
Abort (stop) the capturing operation.
| |
| Capture |
Capture web page according to the defined properties of the library.
| |
| CaptureAsync |
Capture async web page according to the defined properties of the library.
| |
| CheckLicense |
Check the user license of the component.
| |
| Dispose |
Protected implementation of Dispose pattern.
| |
| Dispose(Boolean) |
Dispose.
| |
| GetArgs |
Get the arguments according to the defined properties of the library.
| |
| Pause |
Suspend (pause) the capturing operation.
| |
| Resume |
Resume (unpause) the capturing operation.
|
| Name | Description | |
|---|---|---|
| OperationClosed |
Closed progress.
| |
| OperationDone |
Operation done.
| |
| OperationOutput |
Operation output.
| |
| OperationProgress |
Operation progress.
| |
| OperationStart |
Operation done.
|