Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

EM_SETPAGEROTATE message

[EM_SETPAGEROTATE is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sets the text layout for a rich edit control.

Parameters

wParam

Text layout value. This can be one of the following values.

ValueMeaning
EPR_0

Text flows from left to right and from top to bottom.

EPR_90

Text flows from bottom to top and from left to right.

EPR_180

Text flows from right to left and from bottom to top.

EPR_270

Text flows from top to bottom and from right to left.

EPR_SE

Windows 8: Text flows top to bottom and left to right (Mongolian text layout).

 

lParam

Not used; must be zero.

Return value

Return value is the new text layout value.

Remarks

This message sets the text layout for the entire document. However, embedded contents are not rotated and must be rotated separately by the application.

Requirements

Minimum supported client

Windows XP with SP1 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richedit.h

See also

EM_GETPAGEROTATE

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.