Esempio n. 1
0
        /// <summary>
        /// This is the click handler for the 'OpenInvert' button.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OpenInvert_Click(object sender, RoutedEventArgs e)
        {
            Video.RemoveAllEffects();
            Video.AddVideoEffect("InvertTransform.InvertEffect", true, null);

            rootPage.PickSingleFileAndSet(new string[] { ".mp4", ".wmv", ".avi" }, Video);
        }
Esempio n. 2
0
        private void OpenVideoWithPolarEffect(string effectName)
        {
            Video.RemoveAllEffects();
            PropertySet configuration = new PropertySet();

            configuration.Add("effect", effectName);
            Video.AddVideoEffect("PolarTransform.PolarEffect", true, configuration);

            rootPage.PickSingleFileAndSet(new string[] { ".mp4", ".wmv", ".avi" }, Video);
        }