Gdi::SetViewportOrgEx_I (Windows CE 5.0)
This method sets the viewpoint origin of a device context to the specified coordinates.
static WINGDIAPI BOOL WINAPI SetViewportOrgEx_I(HDC hdc,int nXOrg,int nYOrg,POINT* lppt);
Parameters
hdc
[in] Handle to the device context.nXOrg
[in] Integer that specifies the x-coordinate, in device units, of the new viewport origin.nYOrg
[in] Integer that specifies the y-coordinate, in device units, of the new viewport origin.lppt
[in] Long pointer to a POINT structure.The previous viewport origin, in device coordinates, is placed in this structure.
If lpPoint is NULL, nothing is returned.
Return Values
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
Remarks
This method is an internal version of the SetViewportOrgEx function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.
See Also
Gdi | SetViewportOrgEx | POINT
Send Feedback on this topic to the authors