public void TestSyncAllFontStyle()
        {
            Microsoft.Office.Interop.PowerPoint.Shape formatShape = GetShape(OriginalShapesSlideNo, CopyFromSmallShape);

            Microsoft.Office.Interop.PowerPoint.Shape newShape = GetShape(OriginalShapesSlideNo, CopyToShape);
            FontStyleFormat.SyncFormat(formatShape, newShape);

            CheckFontStyle(OriginalShapesSlideNo, SyncAllFontStyleSlideNo);
        }
Esempio n. 2
0
        public void TestSyncAllFontStyle()
        {
            var formatShape = GetShape(OriginalShapesSlideNo, CopyFromSmallShape);

            var newShape = GetShape(OriginalShapesSlideNo, CopyToShape);

            FontStyleFormat.SyncFormat(formatShape, newShape);

            CheckFontStyle(OriginalShapesSlideNo, SyncAllFontStyleSlideNo);
        }