Aspose.Diagram.Examples.CSharp.RunExamples.Main C# (CSharp) Method

Main() private method

private Main ( ) : void
return void
        public static void Main()
        {
            Console.WriteLine("Open RunExamples.cs. \nIn Main() method uncomment the example that you want to run.");
            Console.WriteLine("=====================================================");
            // Uncomment the one you want to try out

            
            // =====================================================
            // =====================================================
            // Introduction
            // =====================================================
            // =====================================================

            // GetLibraryVersion.Run();
            // SetVisioProperties.Run();
            // DetectVisioFileFormat.Run();

            // =====================================================
            // =====================================================
            // Load-Save-Convert
            // =====================================================
            // =====================================================

            // CreateNewVisio.Run();
            // ExportHTMLinStream.Run();
            // ExportToXAML.Run();
            // ReadVisioDiagram.Run();
            // CreateMasterFromScratch.Run();

            // =====================================================
            // =====================================================
            // Working-with-Geometry-Section
            // =====================================================
            // =====================================================

            // EditConnectorGeometry.Run();

            // =====================================================
            // =====================================================
            // Working-with-Headers-and-Footers
            // =====================================================
            // =====================================================

            // ManageHeadersandFooters.Run();
         
            // =====================================================
            // =====================================================
            // Working With Diagrams
            // =====================================================
            // =====================================================

            // AddConnectShapes.Run();
            // CreateDiagram.Run();
            // ExportPageToImage.Run();
            // ExportToHTML.Run();
            // ExportToImage.Run();
            // ExportToPDF.Run();
            // ExportToSVG.Run();            
            // ExportToXML.Run();
            // ExportToXPS.Run();            
            // ExtractAllImagesFromPage.Run();
            // LayOutShapesInCompactTreeStyle.Run();
            // LayOutShapesInFlowchartStyle.Run();           
            // ReadDiagramFile.Run();
            // RetrieveConnectorInfo.Run();
            // RetrieveFontInfo.Run();
            // RetrieveMasterInfo.Run();
            // RetrievePageInfo.Run();
            // ExportToSWF.Run();
            // ExportToSWFWithoutViewer.Run();
            // ModifyVBAModule.Run();
            // RetrieveInheritedFillData.Run();

            // =====================================================
            // =====================================================
            // Working With Shapes
            // =====================================================
            // =====================================================

            // ApplyCustomStyleSheets.Run();
            // RetrieveShapeInfo.Run();
            // SetFillData.Run();
            // SetLineData.Run();
            // SetXFormdata.Run();
            // UpdateShapeText.Run();
            // RefreshMilestoneWithMilestoneHelper.Run();

            // =====================================================
            // =====================================================
            // Working With Comments
            // =====================================================
            // =====================================================

            // AddPageLevelCommentInVisio.Run();
            // EditPageLevelCommentInVisio.Run();

            // =====================================================
            // =====================================================
            // Knowledge-Base
            // =====================================================
            // =====================================================

            // CreatingDiagramWithAspose.Run();
            // CreatingDiagramWithVSTO.Run();
            // SaveDiagramTo_VDX_PDF_JPEG_withAspose.Run();
            // SaveDiagramTo_VDX_PDF_JPEG_withAspose.Run();
            // UpdateShapePropsWithAspose.Run();
            // UpdateShapePropsWithVSTO.Run();

            // =====================================================
            // =====================================================
            // Technical-Articles
            // =====================================================
            // =====================================================

            // AddConnectShapes.Run();

            // =====================================================
            // =====================================================
            // Working-with-Hyperlinks
            // =====================================================
            // =====================================================

            // AddHyperlinkToShape.Run();
            // GetHyperlinks.Run();

            // =====================================================
            // =====================================================
            // Working-with-Layers
            // =====================================================
            // =====================================================

            // AddLayer.Run();
            // ConfigureShapeLayers.Run();
            // RetrieveAllLayers.Run();

            // =====================================================
            // =====================================================
            // Working-with-Masters
            // =====================================================
            // =====================================================
                        
            // CheckMasterPresencebyID.Run();
            // CheckMasterPresencebyName.Run();
            // GetMasterbyID.Run();
            // GetMasterbyName.Run();
            // RetrieveMasterInfo.Run();

            // =====================================================
            // =====================================================
            // Working-with-Pages
            // =====================================================
            // =====================================================

            // CopyVisioPage.Run();
            // ExportOfHiddenVisioPagesToHTML.Run();
            // ExportOfHiddenVisioPagesToImage.Run();
            // ExportOfHiddenVisioPagesToPDF.Run();
            // ExportOfHiddenVisioPagesToSVG.Run();
            // ExportOfHiddenVisioPagesToXPS.Run();
            // GetVisioPagebyID.Run();
            // GetVisioPagebyName.Run();
            // InsertBlankPageInVisio.Run();
            // RetrievePageInfo.Run();
            // SetVisioPageOrientation.Run();

            // =====================================================
            // =====================================================
            // Working-with-Print
            // =====================================================
            // =====================================================

            // ByDefaultPrinter.Run();
            // BySpecificPrinter.Run();
            // PrintDiagramVisXPSPrinterAPI.Run();
            // SetPrintJobAndPrinterName.Run();  

            // =====================================================
            // =====================================================
            // Working-with-Protection
            // =====================================================
            // =====================================================

            // VisioDiagramProtection.Run();
            // VisioShapeProtection.Run();

            // =====================================================
            // =====================================================
            // Working-with-SolutionXML-Elements
            // =====================================================
            // =====================================================

            // AddSolutionXMLElement.Run();
            // ReadSolutionXMLElement.Run();

            // =====================================================
            // =====================================================
            // Working-with-Text
            // =====================================================
            // =====================================================

            // ApplyCustomStyleSheets.Run();
            // ApplyFontOnText.Run();
            // FindAndReplaceShapeText.Run();
            // GetPlainTextOfVisio.Run();
            // UpdateShapeText.Run();
            // InsertTextShape.Run();

            // =====================================================
            // =====================================================
            // Working-with-Text-Boxes
            // =====================================================
            // =====================================================

            // FormatShapeTextBlockSection.Run();
            // SetShapeTextPositionAtBottom.Run();
            // SetShapeTextPositionAtLeft.Run();
            // SetShapeTextPositionAtRight.Run();
            // SetShapeTextPositionAtTop.Run();

            // =====================================================
            // =====================================================
            // Working-with-User-defined-Cells
            // =====================================================
            // =====================================================

            // CreateUserDefinedCellInShapeSheet.Run();
            // ReadUserdefinedCellsOfShape.Run();
            // RetrieveUserDefinedCells.Run();

            // =====================================================
            // =====================================================
            // Working-with-Window-Elements
            // =====================================================
            // =====================================================

            // AddSupportOfVisualAids.Run();
            // AddWindowElementInVisio.Run();
            // DisplayGridsRulersGuidesAndPageBreaks.Run();
            // RetrieveWindowElementsOfDiagram.Run();

            // =====================================================
            // =====================================================
            // OLE-Objects
            // =====================================================
            // =====================================================

            // ManipulateObjects.Run();

            // =====================================================
            // =====================================================
            // Event-Section
            // =====================================================
            // =====================================================

            // SettingCellsInEventSection.Run();

            // =====================================================
            // =====================================================
            // Visio-ActiveX-Controls
            // =====================================================
            // =====================================================

            // InsertActiveXControl.Run();               
                        
            // Stop before exiting
            Console.WriteLine("\n\nProgram Finished. Press any key to exit....");
            Console.ReadKey();
        }
        public static String GetDataDir_OLEObjects()