PyCDC.SetViewportExt

(x,y) = SetViewportExt(size)

Sets the x,y extents of the viewport of the device context.

Parameters

size : (x,y)

The new size.

MFC References

CDC::SetViewportExt

Return Value

The previous extents of the viewport (in logical units).