示例#1
0
        //function clean the transform effect
        private void clearTransform()
        {
            browser.clearTransform();
            TranslateTransform transform = imageTransformGroup.Children[3] as TranslateTransform;

            transform.X = 0;
            transform.Y = 0;

            ScaleTransform transformScale = imageTransformGroup.Children[0] as ScaleTransform;

            transformScale.ScaleX = 1;
            transformScale.ScaleY = 1;

            browser.ZoomIn(1, transformScale);
        }