Aspose.Slides.Examples.CSharp.Shapes.AddVideoFrameFromWebSource.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_Shapes();

            using (Presentation pres = new Presentation())
            {
                AddVideoFromYouTube(pres, "Tj75Arhq5ho");
                pres.Save(dataDir + "AddVideoFrameFromWebSource_out.pptx", SaveFormat.Pptx);
            }
        }
AddVideoFrameFromWebSource