TVideoGrabber.MonitorBounds

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the bounds of the specified video screen, in pixels.


Declaration
function MonitorBounds(MonitorNumber: LongInt; var Bounds: TRect): Boolean;


bool __fastcall MonitorBounds(int MonitorNumber, Windows::TRect &Bounds);


Function MonitorBounds(MonitorNumber As Long, LeftBound, TopBound, RightBound, BottomBound) As Boolean

Description

Returns the bounds of the specified video screen, in pixels.
Note: the MonitorNumber parameter is in the [ 0 .. MonitorsCount - 1 ] range.

Useful on platforms that have more than one video screen.
See the Dual display chapter for more information.


See Also
Dual display TVideoRenderer AdjustPixelAspectRatio Display_Active Display_AlphaBlendEnabled Display_AlphaBlendValue Display_AutoSize Display_Embedded Display_FullScreen Display_Height Display_Left Display_Monitor Display_MouseMovesWindow Display_PanScanRatio Display_SetLocation Display_StayOnTop Display_Top Display_TransparentColorEnabled Display_TransparentColorValue Display_VideoHeight Display_VideoPortEnabled Display_VideoWidth Display_VideoWindowHandle Display_Width DualDisplay_Active DualDisplay_AlphaBlendEnabled DualDisplay_AlphaBlendValue DualDisplay_AutoSize DualDisplay_Embedded DualDisplay_FullScreen DualDisplay_Height DualDisplay_Left DualDisplay_Monitor DualDisplay_MouseMovesWindow DualDisplay_PanScanRatio DualDisplay_SetLocation DualDisplay_StayOnTop DualDisplay_Top DualDisplay_TransparentColorEnabled DualDisplay_TransparentColorValue DualDisplay_VideoHeight DualDisplay_VideoPortEnabled DualDisplay_VideoWidth DualDisplay_VideoWindowHandle DualDisplay_Visible DualDisplay_Width IsVideoPortAvailable Monitor_Primary_Index MonitorsCount OnLeavingFullScreen SetParentWindow SetWindowTransparency VideoDoubleBuffered VideoHeight_PreferredAspectRatio VideoRendererExternal VideoRendererExternalIndex VideoVisibleWhenStopped VideoWidth_PreferredAspectRatio