sajja swathi

sajja swathi

  • 1.9k
  • 114
  • 223

How to change the aspect ratio of an Windows media player by using C#

Jul 30 2020 6:14 AM
Watching a Video on windows media player will produce black bars on the left and right.
  1. this.MPlayer.stretchToFit = true;  
  2. AxWindowsMediaPlayer mPlayer = this.MPlayer;  
  3. mPlayer.URL = "Location of a file";  
Below attached file output of the code.
 
Please suggest me how to change the aspect ratio of an Windows media player.

Attachment: Sample.rar

Brought to you by: