次の方法で共有


IOleInPlaceSiteWindowless.ScrollRect Method

Enables an object to scroll an area within its in-place active image on the screen.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
Sub ScrollRect ( _
    dx As Integer, _
    dy As Integer, _
    pRectScroll As RECT(), _
    pRectClip As RECT() _
)
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim dx As Integer
Dim dy As Integer
Dim pRectScroll As RECT()
Dim pRectClip As RECT()

instance.ScrollRect(dx, dy, pRectScroll, _
    pRectClip)
void ScrollRect(
    int dx,
    int dy,
    RECT[] pRectScroll,
    RECT[] pRectClip
)
void ScrollRect(
    [InAttribute] int dx, 
    [InAttribute] int dy, 
    [InAttribute] array<RECT>^ pRectScroll, 
    [InAttribute] array<RECT>^ pRectClip
)
abstract ScrollRect : 
        dx:int * 
        dy:int * 
        pRectScroll:RECT[] * 
        pRectClip:RECT[] -> unit 
function ScrollRect(
    dx : int, 
    dy : int, 
    pRectScroll : RECT[], 
    pRectClip : RECT[]
)

Parameters

  • dx
    Type: System.Int32
    [in] Amount to scroll on the x-axis.
  • dy
    Type: System.Int32
    [in] Amount to scroll on the y-axis.
  • pRectClip
    Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
    [in] Rectangle to clip to as defined for the Windows API function. Only pixels scrolling into this rectangle are drawn. Pixels scrolling out are not. If this parameter is NULL, the rectangle is not clipped.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::ScrollRect

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace