public GhostscriptProcessor(byte[] gsDll) { if (gsDll == null) { throw new ArgumentNullException("gsDll", "Cannot be null."); } _gs = new GhostscriptLibrary(gsDll); }
public GhostscriptProcessor(GhostscriptVersionInfo version, bool fromMemory) { if (version == null) { throw new ArgumentNullException("version", "Cannot be null."); } _gs = new GhostscriptLibrary(version, fromMemory); }
public GhostscriptProcessor(GhostscriptVersionInfo version, bool fromMemory) { if (version == null) { throw new ArgumentNullException("version"); } _gs = new GhostscriptLibrary(version, fromMemory); }
public GhostscriptProcessor(byte[] library) { if (library == null) { throw new ArgumentNullException("library"); } _gs = new GhostscriptLibrary(library); }
public GhostscriptProcessor(GhostscriptLibrary library, bool processorOwnsLibrary = false) { if (library == null) { throw new ArgumentNullException("library"); } _processorOwnsLibrary = processorOwnsLibrary; _gs = library; }
/// <summary> /// Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class. /// </summary> /// <param name="library">Memory buffer representing native Ghostscript library.</param> public GhostscriptInterpreter(byte[] library) { if (library == null) { throw new ArgumentNullException("library"); } // load ghostscript native library _gs = new GhostscriptLibrary(library); // initialize Ghostscript interpreter this.Initialize(); }
/// <summary> /// Initializes a new instance of the Ghostscript.NET.GhostscriptInterpreter class. /// </summary> /// <param name="version">GhostscriptVersionInfo instance that tells which Ghostscript library to use.</param> /// <param name="fromMemory">Tells if the Ghostscript should be loaded from the memory or directly from the disk.</param> public GhostscriptInterpreter(GhostscriptVersionInfo version, bool fromMemory) { if (version == null) { throw new ArgumentNullException("version"); } // load ghostscript native library _gs = new GhostscriptLibrary(version, fromMemory); // initialize Ghostscript interpreter this.Initialize(); }
public GhostscriptProcessor(byte[] gsDll) { _gs = new GhostscriptLibrary(gsDll); }
public GhostscriptProcessor(GhostscriptVersionInfo version, bool fromMemory) { _gs = new GhostscriptLibrary(version, fromMemory); }
public GhostscriptInterpreter(GhostscriptVersionInfo version, bool fromMemory) { _gs = new GhostscriptLibrary(version, fromMemory); this.Initialize(); }
public GhostscriptInterpreter(byte[] gsDll) { _gs = new GhostscriptLibrary(gsDll); this.Initialize(); }