Aspose.Slides.Examples.CSharp.Presentations.Opening.VerifyingPresentationWithoutloading.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

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

            LoadFormat format = PresentationFactory.Instance.GetPresentationInfo(dataDir + "HelloWorld.pptx").LoadFormat;
            // It will return "LoadFormat.Unknown" if the file is other than presentation formats           
        }
    }
VerifyingPresentationWithoutloading