C# Class Ghostscript.NET.Interpreter.GhostscriptInterpreter

Represents a Ghostscript interpreter.
Inheritance: IDisposable
Afficher le fichier Open project: jhabjan/Ghostscript.NET Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
Initialize ( ) : void

Initializes a new instance of Ghostscript interpreter.

Method Details

Dispose() public méthode

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

Dispose() protected méthode

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

GhostscriptInterpreter() public méthode

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

GhostscriptInterpreter() public méthode

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.
Résultat System

GhostscriptInterpreter() public méthode

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.
Résultat System

GhostscriptInterpreter() public méthode

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

InitArgs() public méthode

Initializes the interpreter.
public InitArgs ( string args ) : void
args string
Résultat void

Run() public méthode

Runs a string.
public Run ( string str ) : int
str string
Résultat int

RunFile() public méthode

Runs a PostScript file.
public RunFile ( string path ) : void
path string
Résultat void

Setup() public méthode

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.
Résultat void