다음을 통해 공유


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

‘선언
Function AdjustRect ( _
    <OutAttribute> prc As RECT() _
) As Integer
‘사용 방법
Dim instance As IOleInPlaceSiteWindowless
Dim prc As RECT()
Dim returnValue As Integer

returnValue = instance.AdjustRect(prc)
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: System.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

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace