Beispiel #1
0
        public System.Data.DataTable Get_Visio_Page_Cell(string [] Cells, bool GetResults, string ResultType)
        {
            var cmd = new VisioPowerShell.Commands.Get.Get_VisioPageCell();

            cmd.Cells      = Cells;
            cmd.GetResults = GetResults;
            cmd.ResultType = VisioPowerShell.Model.ResultType.Double;
            var results = cmd.Invoke <System.Data.DataTable>();
            var dt      = results.First();

            return(dt);
        }
 public System.Data.DataTable Get_Visio_Page_Cell( string [] Cells, bool GetResults, string ResultType)
 {
     var cmd = new VisioPowerShell.Commands.Get.Get_VisioPageCell();
     cmd.Cells = Cells;
     cmd.GetResults = GetResults;
     cmd.ResultType = VisioPowerShell.Model.ResultType.Double;
     var results = cmd.Invoke <System.Data.DataTable>();
     var dt = results.First();
     return dt;
 }