CDC::GetWorldTransform

Retrieves the current world-space to page-space transformation.

BOOL GetWorldTransform(
   XFORM& rXform
) const;

Parameters

  • rXform
    Reference to an XFORM structure that receives the current world-space to page-space transformation.

Return Value

Returns a nonzero value on success.

Returns 0 on failure.

To get extended error information, call GetLastError.

Remarks

This method wraps the Windows GDI function GetWorldTransform.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart