SetDisplayAspectRatio
TVideoGrabber.SetDisplayAspectRatio |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specifies the aspect ratio to use within the video window.
Declaration
procedure SetDisplayAspectRatio (DisplayIndex: LongInt; Value: TAspectRatio);
void __fastcall SetDisplayAspectRatio(int DisplayIndex, TAspectRatio Value);
Description
Used after invoking SetDisplayAutoSize (index, false) to specify the aspect ratio method that must be used within the video window.
The window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display)