Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Changes the world transformation for a device context using the specified mode.

BOOL ModifyWorldTransform(
   const XFORM& rXform,
   DWORD iMode


Reference to an XFORM structure used to modify the world transformation for the given device context.


Specifies how the transformation data modifies the current world transformation. For a list of the values that this parameter can take, see ModifyWorldTransform.

Returns a nonzero value on success.

Returns 0 on failure.

To get extended error information, call GetLastError.

This method wraps the Windows GDI function ModifyWorldTransform.

Header: afxwin.h

© 2015 Microsoft