Dela via


CMFCRibbonEdit::GetTextAlign

Retrieves the alignment of the text in the text box.

int GetTextAlign() const;

Return Value

A text alignment enumerated value. See the Remarks section for possible values.

Remarks

The returned value is one of the following edit control styles:

  • ES_LEFT for left alignment

  • ES_CENTER for center alignment

  • ES_RIGHT for right alignment

For more information about these styles, see Edit Control Styles.

Requirements

Header: afxRibbonEdit.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonEdit Class

Change History

Date

History

Reason

September 2008

Updated whole topic.

Information enhancement.