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)); }
public Selection GetCurrentSelection() { return(FunctionalTestExtensions.GetCurrentSelection()); }