PhantomJS ClassNReco.PhantomJS Class Library Documentation
PhantomJS Wrapper
Inheritance Hierarchy

System Object
  NReco.PhantomJS PhantomJS

Namespace: NReco.PhantomJS
Assembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
Syntax

public class PhantomJS

The PhantomJS type exposes the following members.

Constructors

  NameDescription
Public methodPhantomJS
Create new instance of HtmlToPdfConverter
Top
Methods

  NameDescription
Public methodAbort
Abort PhantomJS process (if started)
Protected methodCopyToStdIn
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun(String,  String )
Execute javascript code from specified file.
Public methodRun(String,  String , Stream, Stream)
Execute javascript code from specified file with input/output interaction
Public methodRunAsync
Asynchronously execute javascript code from specified file with input/output interaction
Public methodRunScript(String,  String )
Execute javascript code block
Public methodRunScript(String,  String , Stream, Stream)
Execute javascript code block
Public methodRunScriptAsync
Asynchronously execute javascript code block.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteEnd
Closes phantomJS process standard input stream.
Public methodWriteLine
Writes a string followed by a line terminator to the PhantomJS standard input (stdin).
Top
Properties

  NameDescription
Public propertyCustomArgs
Get or set extra PhantomJS switches/options
Public propertyExecutionTimeout
Get or set maximum execution time for running PhantomJS process (null is by default = no timeout)
Public propertyPhantomJsExeName
Get or set PhantomJS tool executive file name ('phantomjs.exe' by default)
Public propertyProcessPriority
Get or set PhantomJS process priority (Normal by default)
Public propertyTempFilesPath
Public propertyToolPath
Get or set path where phantomjs.exe is located
Top
Events

  NameDescription
Public eventErrorReceived
Occurs when error data is received from PhantomJS process
Public eventOutputReceived
Occurs when output data is received from PhantomJS process
Top
See Also