public void TestSlightDecreaseVisualHeightWithoutAspectRatio() { Microsoft.Office.Interop.PowerPoint.ShapeRange actualShapes = GetShapes(SlideNo.SlightAdjustOrigin, _shapeNames); Microsoft.Office.Interop.PowerPoint.ShapeRange expectedShapes = GetShapes(SlideNo.SlightVisualDecreaseHeight, _shapeNames); actualShapes.LockAspectRatio = MsoTriState.msoFalse; _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual; _resizeLab.DecreaseHeight(actualShapes); CheckShapes(expectedShapes, actualShapes); }
public void TestSlightDecreaseVisualHeightWithoutAspectRatio() { var actualShapes = GetShapes(SlideNo.SlightAdjustOrigin, _shapeNames); var expectedShapes = GetShapes(SlideNo.SlightVisualDecreaseHeight, _shapeNames); actualShapes.LockAspectRatio = MsoTriState.msoFalse; _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual; _resizeLab.DecreaseHeight(actualShapes); CheckShapes(expectedShapes, actualShapes); }