Movie.MovieWidth

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aMovie.MovieWidth

Supported for all project types and targets.

The width of the movie in pixels.

Examples

This example opens a movie on disk, assigns it to the movie property of a MoviePlayer object, and displays its height and width in TextFields.

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.MovieHeight.ToString
TextField3.Value = m.MovieWidth.ToString