C# Класс Ghostscript.NET.Interpreter.GhostscriptInterpreter

Represents a Ghostscript interpreter.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Приватные методы

Метод Описание
Initialize ( ) : void

Initializes a new instance of Ghostscript interpreter.

Описание методов

Dispose() публичный Метод

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases all resources used by the Ghostscript.NET.GhostscriptInterpreter instance.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GhostscriptInterpreter() публичный Метод

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( ) : System
Результат System

GhostscriptInterpreter() публичный Метод

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.
Результат System

GhostscriptInterpreter() публичный Метод

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.
Результат System

GhostscriptInterpreter() публичный Метод

Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class.
public GhostscriptInterpreter ( byte library ) : System
library byte Memory buffer representing native Ghostscript library.
Результат System

InitArgs() публичный Метод

Initializes the interpreter.
public InitArgs ( string args ) : void
args string
Результат void

Run() публичный Метод

Runs a string.
public Run ( string str ) : int
str string
Результат int

RunFile() публичный Метод

Runs a PostScript file.
public RunFile ( string path ) : void
path string
Результат void

Setup() публичный Метод

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.
Результат void