C# Class Ghostscript.NET.Interpreter.GhostscriptInterpreter

Represents a Ghostscript interpreter.
Inheritance: IDisposable
Mostra file Open project: jhabjan/Ghostscript.NET Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.

GhostscriptInterpreter ( ) : System

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.

GhostscriptInterpreter ( GhostscriptVersionInfo version ) : System

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.

GhostscriptInterpreter ( GhostscriptVersionInfo version, bool fromMemory ) : System

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.

GhostscriptInterpreter ( byte library ) : System

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.

InitArgs ( string args ) : void

Initializes the interpreter.

Run ( string str ) : int

Runs a string.

RunFile ( string path ) : void

Runs a PostScript file.

Setup ( GhostscriptStdIO stdIO, GhostscriptDisplayDeviceHandler displayDevice ) : void

Sets the stdio and display device callback handlers.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.

Private Methods

Method Description
Initialize ( ) : void

Initializes a new instance of Ghostscript interpreter.

Method Details

Dispose() public method

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.
public Dispose ( ) : void
return void

Dispose() protected method

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GhostscriptInterpreter() public method

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( ) : System
return System

GhostscriptInterpreter() public method

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( GhostscriptVersionInfo version ) : System
version GhostscriptVersionInfo GhostscriptVersionInfo instance that tells which Ghostscript library to use.
return System

GhostscriptInterpreter() public method

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( GhostscriptVersionInfo version, bool fromMemory ) : System
version GhostscriptVersionInfo GhostscriptVersionInfo instance that tells which Ghostscript library to use.
fromMemory bool Tells if the Ghostscript should be loaded from the memory or directly from the disk.
return System

GhostscriptInterpreter() public method

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( byte library ) : System
library byte Memory buffer representing native Ghostscript library.
return System

InitArgs() public method

Initializes the interpreter.
public InitArgs ( string args ) : void
args string
return void

Run() public method

Runs a string.
public Run ( string str ) : int
str string
return int

RunFile() public method

Runs a PostScript file.
public RunFile ( string path ) : void
path string
return void

Setup() public method

Sets the stdio and display device callback handlers.
public Setup ( GhostscriptStdIO stdIO, GhostscriptDisplayDeviceHandler displayDevice ) : void
stdIO GhostscriptStdIO Stdio callback handler.
displayDevice GhostscriptDisplayDeviceHandler DisplayDevice callback handler.
return void