VideoWindow.GetWindowPosition Method
This method retrieves the current window rectangle (not the client rectangle) in device coordinates.
Namespace: Microsoft.Lync.Model.Conversation.AudioVideo
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Sub GetWindowPosition ( _
<OutAttribute> ByRef pLeft As Integer, _
<OutAttribute> ByRef pTop As Integer, _
<OutAttribute> ByRef pWidth As Integer, _
<OutAttribute> ByRef pHeight As Integer _
)
'Usage
Dim instance As VideoWindow
Dim pLeft As Integer
Dim pTop As Integer
Dim pWidth As Integer
Dim pHeight As Integer
instance.GetWindowPosition(pLeft, pTop, _
pWidth, pHeight)
public void GetWindowPosition(
out int pLeft,
out int pTop,
out int pWidth,
out int pHeight
)
Parameters
- pLeft
Type: System.Int32
- pTop
Type: System.Int32
- pWidth
Type: System.Int32
- pHeight
Type: System.Int32