win32gui.SetViewportExtEx

(int,int) = SetViewportExtEx(hdc, XExtent , YExtent )

Changes the viewport extents for a DC

Parameters

hdc : PyHANDLE

Handle to a device context

XExtent : int

New X extent in logical units

YExtent : int

New Y extent in logical units

Return Value

Returns the previous extents as (x,y) in logical units