コード例 #1
0
        private void TestSingleZoomConfig1()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(4);
            PpOperations.SelectShape("First ZoomShape");
            PplFeatures.AddZoomToArea();

            AssertAreSame(4, 8, 4);
        }
コード例 #2
0
        private void TestMultipleZoomConfig1()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(14);
            PpOperations.SelectShapes(new[] { "First ZoomShape", "Second ZoomShape", "Third ZoomShape", "Fourth ZoomShape" });
            PplFeatures.AddZoomToArea();

            AssertAreSame(14, 24, 10);
        }
コード例 #3
0
        private void TestSingleZoomConfig2()
        {
            PplFeatures.SetZoomProperties(false, false);

            PpOperations.SelectSlide(10);
            PpOperations.SelectShape("First ZoomShape");
            PplFeatures.AddZoomToArea();

            AssertAreSame(10, 12, 2);
        }
コード例 #4
0
        private void TestMultipleZoomConfig4()
        {
            PplFeatures.SetZoomProperties(false, false);

            PpOperations.SelectSlide(42);
            PpOperations.SelectShapes(new[] { "First ZoomShape", "Second ZoomShape", "Third ZoomShape", "Fourth ZoomShape" });
            PplFeatures.AddZoomToArea();

            AssertAreSame(42, 44, 2);
        }