Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.
wParam
Text layout value. This can be one of the following values.
Value | Meaning |
---|---|
|
Text flows from left to right and from top to bottom. |
|
Text flows from bottom to top and from left to right. |
|
Text flows from right to left and from bottom to top. |
|
Text flows from top to bottom and from right to left. |
|
Windows 8: Text flows top to bottom and left to right (Mongolian text layout). |
lParam
Not used; must be zero.
Return value is the new text layout value.
This message sets the text layout for the entire document. However, embedded contents are not rotated and must be rotated separately by the application.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP with SP1 [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Please sign in to use this experience.
Sign in