Upravit

Sdílet prostřednictvím


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.

Value Meaning
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

Requirement Value
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