public void TestEqualizeVisualHeightWithoutAspectRatio() { Microsoft.Office.Interop.PowerPoint.ShapeRange actualShapes = GetShapes(SlideNo.EqualizeOrigin, _shapeNames); Microsoft.Office.Interop.PowerPoint.ShapeRange expectedShapes = GetShapes(SlideNo.EqualizeVisualHeight, _shapeNames); actualShapes.LockAspectRatio = MsoTriState.msoFalse; _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual; _resizeLab.ResizeToSameHeight(actualShapes); CheckShapes(expectedShapes, actualShapes); }
public void TestEqualizeVisualHeightWithoutAspectRatio() { var actualShapes = GetShapes(SlideNo.EqualizeOrigin, _shapeNames); var expectedShapes = GetShapes(SlideNo.EqualizeVisualHeight, _shapeNames); actualShapes.LockAspectRatio = MsoTriState.msoFalse; _resizeLab.ResizeType = ResizeLabMain.ResizeBy.Visual; _resizeLab.ResizeToSameHeight(actualShapes); CheckShapes(expectedShapes, actualShapes); }