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


Call this member function to determine the layout of the text and graphics for a device context, such as a printer or a metafile.

DWORD GetLayout( ) const;

If successful, the layout flags for the current device context. Otherwise, GDI_ERROR. For extended error information, call GetLastError. For a list of the layout flags, see CDC::SetLayout.

The default layout is left to right.

Header: afxwin.h

© 2015 Microsoft