Ejemplo n.º 1
0
        public void TestSlightIncreaseVisualHeightWithoutAspectRatio()
        {
            Microsoft.Office.Interop.PowerPoint.ShapeRange actualShapes   = GetShapes(SlideNo.SlightAdjustOrigin, _shapeNames);
            Microsoft.Office.Interop.PowerPoint.ShapeRange expectedShapes = GetShapes(SlideNo.SlightVisualIncreaseHeight, _shapeNames);
            actualShapes.LockAspectRatio = MsoTriState.msoFalse;

            _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual;
            _resizeLab.IncreaseHeight(actualShapes);
            CheckShapes(expectedShapes, actualShapes);
        }
Ejemplo n.º 2
0
        public void TestSlightIncreaseVisualHeightWithoutAspectRatio()
        {
            var actualShapes   = GetShapes(SlideNo.SlightAdjustOrigin, _shapeNames);
            var expectedShapes = GetShapes(SlideNo.SlightVisualIncreaseHeight, _shapeNames);

            actualShapes.LockAspectRatio = MsoTriState.msoFalse;

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