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