Dela via


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

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

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace