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