FMX.Media.TMediaPlayer.VideoSize
Delphi
property VideoSize: TPointF read GetVideoSize;
C++
__property System::Types::TPointF VideoSize = {read=GetVideoSize};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TMediaPlayer |
Description
Specifies the resolution of the current video file.
VideoSize specifies the native width and height of the current media file, in pixels.
VideoSize is a TPointF. The X coordinate of the point represents the width of the window, and the Y coordinate of the point represents the height of the window. If the media file is audio only and does not have a window to be displayed, or if no media file is attached to the media player, then VideoSize is (0,0)
.