Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Getting Null reference error when using Rasterizer

$
0
0
Hello, I've installed the gs910w64.exe in the c:\Program folder and added reference of Ghostscript.NET in my c# app. But I am getting "Object reference not set to an instance of an object." error when opening the Rasterizer. Below is my code:
          var _lastInstalledVersion = GhostscriptVersionInfo.GetLastInstalledVersion(
                    GhostscriptLicense.GPL | GhostscriptLicense.AFPL,
                    GhostscriptLicense.GPL);
            var _rasterizer = new GhostscriptRasterizer();
            _rasterizer.Open(SourceFilePath, _lastInstalledVersion, true);
Please can someone help?

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>