Help Center

CRichEdit.SetPageRotatemethod

Deprecated. Sets the text layout for a Microsoft Rich Edit control.

Windowsmethoddocumented

Syntax

FUNCTION SetPageRotate (BYVAL hRichEdit AS HWND, BYVAL txtlayout AS LONG) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
txtlayoutText layout value. This can be one of the following values.
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).

Return value

Return value is the new text layout value.

Description

Deprecated. Sets the text layout for a Microsoft Rich Edit control.

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.

Reference

  • Defined in AfxNova/CRichEdit.inc:1110
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class