win32gui.SetViewportOrgEx

(int,int) = SetViewportOrgEx(hdc, X , Y )

Changes the viewport origin for a DC

Parameters

hdc : PyHANDLE

Handle to a device context

X : int

New X coord in logical units

Y : int

New Y coord in logical units

Return Value

Returns the previous origin as (x,y)