Condividi tramite


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

Reference

CMFCRibbonEdit Class

Hierarchy Chart