Beispiel #1
0
        public FileInfo ExportSelectedShapes()
        {
            ShapeRange shapes   = FunctionalTestExtensions.GetCurrentSelection().ShapeRange;
            int        hashCode = DateTime.Now.GetHashCode();
            string     pathName = TempPath.GetTempTestFolder() + "shapeName" + hashCode;

            shapes.Export(pathName, PpShapeFormat.ppShapeFormatPNG);
            return(new FileInfo(pathName));
        }
Beispiel #2
0
 public Selection GetCurrentSelection()
 {
     return(FunctionalTestExtensions.GetCurrentSelection());
 }