Help Center

CTextFont2.SetNamemethod

Windowsmethoddocumented

Syntax

FUNCTION SetName (BYREF wszFontName AS WSTRING)
Also documented as Name — one description covers them all.

Parameters

NameDescription
dwsFontNameThe new font name.
wszFontNameThe new font name.

Return value

The font name.

Description

Gets/sets the font name.

Example

(GET) PROPERTY Name () AS DWSTRING (SET) PROPERTY Name (BYREF dwsFontName AS DWSTRING)

Reference

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