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

public Start ( ) : void
Результат void
Пример #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Ghostscript.NET Samples");

            if (!GhostscriptVersionInfo.IsGhostscriptInstalled)
            {
                throw new Exception("You don't have Ghostscript installed on this machine!");
            }

            ISample sample;

            //sample = new GetInkCoverageSample();
            //sample = new ProcessorSample1();
            //sample = new ProcessorSample2();
            //sample = new FindInstalledGhostscriptVersionsSample();
            //sample = new RunMultipleInstancesSample();
            //sample = new ViewerSample();
            //sample = new RasterizerSample1();
            //sample = new RasterizerSample2();
            //sample = new AddWatermarkSample();
            //sample = new DeviceUsageSample();
            sample = new PipedOutputSample();
            //sample = new SendToPrinterSample();
            //sample = new RasterizerCropSample();

            sample.Start();

            Console.ReadLine();
        }
Пример #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Ghostscript.NET Samples");

            if (!GhostscriptVersionInfo.IsGhostscriptInstalled)
            {
                throw new Exception("You don't have Ghostscript installed on this machine!");
            }

            ISample sample;

            //sample = new GetInkCoverageSample();
            //sample = new ProcessorSample1();
            //sample = new ProcessorSample2();
            //sample = new FindInstalledGhostscriptVersionsSample();
            //sample = new RunMultipleInstancesSample();
            //sample = new ViewerSample();
            //sample = new RasterizerSample1();
            //sample = new RasterizerSample2();
            //sample = new AddWatermarkSample();
            //sample = new DeviceUsageSample();
            sample = new PipedOutputSample();
            //sample = new SendToPrinterSample();
            //sample = new RasterizerCropSample();

            sample.Start();

            Console.ReadLine();
        }