Property

Movie.MovieWidth


Warning

This item was deprecated in version 2020r2. Please use Movie.Width as a replacement.

Description

The width of the movie in pixels.

Sample code

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

Compatibility

All project types on all supported operating systems.