Help Center

CTextFont2.CONSTRUCTORconstructor

Called when a class variable is created.

Windowsconstructordocumented

Syntax

CONSTRUCTOR (BYVAL pTextFont2 AS ITextFont2 PTR, BYVAL fAddRef AS BOOLEAN = FALSE)

Parameters

NameDescription
pTextFont2A ITextFont2 interface pointer.
fAddRefOptional. TRUE to increment the reference count of the passed ITextFont2 interface pointer; otherwise, FALSE. Default is FALSE.

Return value

A pointer to the new instance of the class.

Description

Called when a CTextFont2 class variable is created.

Reference

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