Movie.Width

From Xojo Documentation

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

New in 2020r2

Supported for all project types and targets.

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

See Also

Height property.