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.]

Applies to: desktop apps only

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 from left to right and from top to bottom (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

Minimum supported server

Windows Server 2003

Header

Richedit.h

See also

EM_GETPAGEROTATE

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ