IOleInPlaceSiteWindowless.ScrollRect(Int32, Int32, RECT[], RECT[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许对象在屏幕上的就地活动图像内滚动区域。
public:
void ScrollRect(int dx, int dy, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRectScroll, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRectClip);
public:
void ScrollRect(int dx, int dy, Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRectScroll, Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRectClip);
void ScrollRect(int dx, int dy, std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & pRectScroll, std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & pRectClip);
public void ScrollRect (int dx, int dy, Microsoft.VisualStudio.OLE.Interop.RECT[] pRectScroll, Microsoft.VisualStudio.OLE.Interop.RECT[] pRectClip);
abstract member ScrollRect : int * int * Microsoft.VisualStudio.OLE.Interop.RECT[] * Microsoft.VisualStudio.OLE.Interop.RECT[] -> unit
Public Sub ScrollRect (dx As Integer, dy As Integer, pRectScroll As RECT(), pRectClip As RECT())
参数
- dx
- Int32
中要在 x 轴上滚动的量。
- dy
- Int32
中要在 y 轴上滚动的量。
- pRectScroll
- RECT[]
中要滚动的矩形,采用包含窗口的工作区坐标。 NULL 表示完整的对象。
- pRectClip
- RECT[]
中为 Windows API 函数定义的要剪裁到的矩形。 只绘制滚动到此矩形的像素。 不向外滚动像素。 如果此参数为 NULL,则不会剪辑矩形。
注解
有关 COM 接口的信息,请参阅 IOleInPlaceSiteWindowless:: ScrollRect