다음을 통해 공유


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
int AdjustRect(
    RECT[] prc
)

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

Microsoft.VisualStudio.OLE.Interop Namespace