C# Class Ghostscript.NET.Processor.GhostscriptProcessor

Inheritance: IDisposable
Mostrar archivo Open project: jhabjan/Ghostscript.NET Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GhostscriptProcessor ( ) : System
GhostscriptProcessor ( GhostscriptLibrary library, bool processorOwnsLibrary = false ) : System
GhostscriptProcessor ( GhostscriptVersionInfo version ) : System
GhostscriptProcessor ( GhostscriptVersionInfo version, bool fromMemory ) : System
GhostscriptProcessor ( byte library ) : System
Process ( GhostscriptDevice device ) : void
Process ( GhostscriptDevice device, GhostscriptStdIO stdIO_callback ) : void
Process ( string args ) : void
Process ( string args, GhostscriptStdIO stdIO_callback ) : void
StartProcessing ( GhostscriptDevice device, GhostscriptStdIO stdIO_callback ) : void
StartProcessing ( string args, GhostscriptStdIO stdIO_callback ) : void

Run Ghostscript.

StopProcessing ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnCompleted ( GhostscriptProcessorEventArgs e ) : void
OnError ( GhostscriptProcessorErrorEventArgs e ) : void
OnProcessing ( GhostscriptProcessorProcessingEventArgs e ) : void
OnStarted ( GhostscriptProcessorEventArgs e ) : void

Private Methods

Method Description
OnStdIoError ( string error ) : void
OnStdIoInput ( string &input, int count ) : void
OnStdIoOutput ( string output ) : void
Pool ( IntPtr handle ) : int
ProcessErrorLine ( string line ) : void
ProcessOutputLine ( string line ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GhostscriptProcessor() public method

public GhostscriptProcessor ( ) : System
return System

GhostscriptProcessor() public method

public GhostscriptProcessor ( GhostscriptLibrary library, bool processorOwnsLibrary = false ) : System
library GhostscriptLibrary
processorOwnsLibrary bool
return System

GhostscriptProcessor() public method

public GhostscriptProcessor ( GhostscriptVersionInfo version ) : System
version GhostscriptVersionInfo
return System

GhostscriptProcessor() public method

public GhostscriptProcessor ( GhostscriptVersionInfo version, bool fromMemory ) : System
version GhostscriptVersionInfo
fromMemory bool
return System

GhostscriptProcessor() public method

public GhostscriptProcessor ( byte library ) : System
library byte
return System

OnCompleted() protected method

protected OnCompleted ( GhostscriptProcessorEventArgs e ) : void
e GhostscriptProcessorEventArgs
return void

OnError() protected method

protected OnError ( GhostscriptProcessorErrorEventArgs e ) : void
e GhostscriptProcessorErrorEventArgs
return void

OnProcessing() protected method

protected OnProcessing ( GhostscriptProcessorProcessingEventArgs e ) : void
e GhostscriptProcessorProcessingEventArgs
return void

OnStarted() protected method

protected OnStarted ( GhostscriptProcessorEventArgs e ) : void
e GhostscriptProcessorEventArgs
return void

Process() public method

public Process ( GhostscriptDevice device ) : void
device GhostscriptDevice
return void

Process() public method

public Process ( GhostscriptDevice device, GhostscriptStdIO stdIO_callback ) : void
device GhostscriptDevice
stdIO_callback GhostscriptStdIO
return void

Process() public method

public Process ( string args ) : void
args string
return void

Process() public method

public Process ( string args, GhostscriptStdIO stdIO_callback ) : void
args string
stdIO_callback GhostscriptStdIO
return void

StartProcessing() public method

public StartProcessing ( GhostscriptDevice device, GhostscriptStdIO stdIO_callback ) : void
device GhostscriptDevice
stdIO_callback GhostscriptStdIO
return void

StartProcessing() public method

Run Ghostscript.
public StartProcessing ( string args, GhostscriptStdIO stdIO_callback ) : void
args string Command arguments
stdIO_callback GhostscriptStdIO StdIO callback, can be set to null if you dont want to handle it.
return void

StopProcessing() public method

public StopProcessing ( ) : void
return void