IOleInPlaceSiteWindowless.AdjustRect Method
Adjusts a specified rectangle if it is entirely or partially covered by overlapping, opaque objects.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function AdjustRect ( _
<OutAttribute> prc As RECT() _
) As Integer
int AdjustRect(
RECT[] prc
)
int AdjustRect(
[InAttribute] [OutAttribute] array<RECT>^ prc
)
abstract AdjustRect :
prc:RECT[] byref -> int
function AdjustRect(
prc : RECT[]
) : int
Parameters
prc
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[][in,out] Rectangle to adjust.
Return Value
Type: Int32
S_OK
The rectangle was adjusted successfully. Note S_OK means that the rectangle was not completely covered.
S_FALSE
The rectangle was adjusted successfully. Note S_FALSE means that the rectangle was completely covered. Its width and height are now NULL.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::AdjustRect
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.