Compartilhar via


CDC::GetLayout

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;

Return Value

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.

Remarks

The default layout is left to right.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

GetLayout

Other Resources

CDC Members