Example #1
0
        public static sGhostScriptVersion GetVersion()
        {
            sGSVersion ver  = new sGSVersion();
            var        code = gsapi_revision(ref ver, Marshal.SizeOf(ver));

            if (code >= 0)
            {
                return(new sGhostScriptVersion(ver));
            }
            return(null);
        }
Example #2
0
 private static extern int gsapi_revision(ref sGSVersion version, int len);