示例#1
0
        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);
        }
示例#2
0
        public void TestSyncLineArrow()
        {
            var formatShape = GetShape(OriginalShapesSlideNo, CopyFromShape);

            var newShape = GetShape(OriginalShapesSlideNo, StraightLine);

            LineArrowFormat.SyncFormat(formatShape, newShape);

            CompareSlides(OriginalShapesSlideNo, SyncLineArrowSlideNo);
            CheckLineStyle(StraightLine, OriginalShapesSlideNo, SyncLineArrowSlideNo);
        }