Movie.Width
From Xojo Documentation
Read-Only Property (As Integer )
The actual width of the movie in pixels.
Example
This example displays the Height and Width.
Var f As FolderItem
Var m As Movie
f = FolderItem.ShowOpenFileDialog("")
m = movie.open(f)
MoviePlayer1.Border = True
MoviePlayer1.Movie = m
MoviePlayer1.Controller = 2
TextField2.Value = m.Height.ToString
TextField3.Value = m.Width.ToString
Var m As Movie
f = FolderItem.ShowOpenFileDialog("")
m = movie.open(f)
MoviePlayer1.Border = True
MoviePlayer1.Movie = m
MoviePlayer1.Controller = 2
TextField2.Value = m.Height.ToString
TextField3.Value = m.Width.ToString
See Also
Height property.