Help Center

CXpButton.TextFormatproperty

Gets/sets the method of formatting the text.

Windowspropertydocumented

Syntax

PROPERTY TextFormat () AS DWORD
PROPERTY TextFormat (BYVAL dwTextFlags AS DWORD)

Parameters

NameDescription
dwTextFlagsSpecifies the method of formatting the text. This parameter can be one or more of the following values:

Return value

The method of formatting the text.

Description

Gets/sets the method of formatting the text.

Default value: DT_CENTER OR DT_VCENTER OR DT_SINGLELINE.

Reference

  • Defined in AfxNova/CXpButton.inc:1482
  • Documented in Windows/Windows GUI/CXpButton Class.md
  • Topic: CXpButton Class