FMX.Media.TVideoCaptureSetting.IsSmallerThan
Delphi
function IsSmallerThan(const ASetting: TVideoCaptureSetting; APriority: TVideoCaptureSettingPriority): Boolean;
C++
bool __fastcall IsSmallerThan(const TVideoCaptureSetting &ASetting, TVideoCaptureSettingPriority APriority);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TVideoCaptureSetting |
Description
Determines whether the resolution and frame rate of the current setting is lower than that of the specified setting (True
), or not (False
).
APriority
determines which measurement, either the resolution (Resolution
) or frame rate (FrameRate
), has a priority during the comparison. For example, if APriority
is Resolution
, only if both resolutions are equal does IsSmallerThan take the frame rate of the settings into account for the comparison.