public void TestSyncLineArrow() { Microsoft.Office.Interop.PowerPoint.Shape formatShape = GetShape(OriginalShapesSlideNo, CopyFromShape); Microsoft.Office.Interop.PowerPoint.Shape newShape = GetShape(OriginalShapesSlideNo, StraightLine); LineArrowFormat.SyncFormat(formatShape, newShape); CompareSlides(OriginalShapesSlideNo, SyncLineArrowSlideNo); CheckLineStyle(StraightLine, OriginalShapesSlideNo, SyncLineArrowSlideNo); }
public void TestSyncLineArrow() { var formatShape = GetShape(OriginalShapesSlideNo, CopyFromShape); var newShape = GetShape(OriginalShapesSlideNo, StraightLine); LineArrowFormat.SyncFormat(formatShape, newShape); CompareSlides(OriginalShapesSlideNo, SyncLineArrowSlideNo); CheckLineStyle(StraightLine, OriginalShapesSlideNo, SyncLineArrowSlideNo); }