Exemplo n.º 1
0
        public void TestSyncFontFamily()
        {
            Microsoft.Office.Interop.PowerPoint.Shape formatShape = GetShape(OriginalShapesSlideNo, CopyFromLargeShape);

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

            CompareSlides(OriginalShapesSlideNo, SyncFontFamilySlideNo);
            CheckFontStyle(OriginalShapesSlideNo, SyncFontFamilySlideNo);
        }
Exemplo n.º 2
0
        public void TestSyncFontFamily()
        {
            var formatShape = GetShape(OriginalShapesSlideNo, CopyFromLargeShape);

            var newShape = GetShape(OriginalShapesSlideNo, CopyToShape);

            FontFormat.SyncFormat(formatShape, newShape);

            CompareSlides(OriginalShapesSlideNo, SyncFontFamilySlideNo);
            CheckFontStyle(OriginalShapesSlideNo, SyncFontFamilySlideNo);
        }