OffsetViewportOrgEx

OffsetViewportOrgEx

VB声明

Declare Function OffsetViewportOrgEx Lib "gdi32" Alias "OffsetViewportOrgEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long

说明

平移设备场景视口区域

返回值

Long,执行成功为非零值,失败为0

参数表

参数

类型及说明

hdc

Long,设备场景句柄

nX,nY

Long,将加到视口起点的水平和垂直偏移量(以设备坐标表示)

lpPoint

POINTAPI,装载设备场景视口原先的起点的结构,以设备坐标表示

Top