Aspose.Imaging.Examples.CSharp.ModifyingAndConvertingImages.ConvertingSVGToRasterImages.Run C# (CSharp) Метод

Run() публичный статический Метод

public static Run ( ) : void
Результат void
        public static void Run()
        {
            // ExStart:ApplyingMotionWienerFilter
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_ModifyingAndConvertingImages();

            // Load the image
            using (SvgImage image = (SvgImage)Image.Load(dataDir + "aspose_logo.Svg"))
            {
                // Create an instance of PNG options and Save the results to disk
                PngOptions pngOptions = new PngOptions();
                image.Save(dataDir + "ConvertingSVGToRasterImages_out.png", pngOptions);
            }
            // ExEnd:ApplyingMotionWienerFilter
        }
    }
ConvertingSVGToRasterImages