Help Center

CRichEditCtx.GetPageRotatemethod

Windowsmethoddocumented

Syntax

FUNCTION GetPageRotate () AS DWORD
Also documented as PageRotate — one description covers them all.

Parameters

NameDescription
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

(GET) The current text layout. For a list of possible text layout values, see the txtlayout parameter above.

(SET) Return value is the new text layout value. Call the (GET) PageRotate property to get the value.

Description

Deprecated. Gets/sets the text layout for a Microsoft Rich Edit control.

Remarks

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

Example

(GET) PROPERTY PageRotate () AS DWORD (SET) PROPERTY PageRotate (BYVAL txtlayout AS LONG)

Reference

  • Defined in AfxNova/CRichEditCtx.inc:1486
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class