Exemple #1
0
        public void TestVisualMatchWidth()
        {
            Microsoft.Office.Interop.PowerPoint.ShapeRange actualShapes   = GetShapes(SlideNo.MatchOrigin, _shapeNames);
            Microsoft.Office.Interop.PowerPoint.ShapeRange expectedShapes = GetShapes(SlideNo.MatchVisualWidth, _shapeNames);

            _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual;
            _resizeLab.MatchWidth(actualShapes);
            CheckShapes(expectedShapes, actualShapes);
        }
Exemple #2
0
        public void TestVisualMatchWidth()
        {
            var actualShapes   = GetShapes(SlideNo.MatchOrigin, _shapeNames);
            var expectedShapes = GetShapes(SlideNo.MatchVisualWidth, _shapeNames);

            _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual;
            _resizeLab.MatchWidth(actualShapes);
            CheckShapes(expectedShapes, actualShapes);
        }