Help Center

CTextRange2.GetFontmethod

Gets an **ITextFont** object with the character attributes of the specified range.

Windowsmethoddocumented

Syntax

FUNCTION GetFont () AS ITextFont PTR

Return value

The ITextFont2 object.

Description

Gets an ITextFont2 object with the character attributes of the current range. In this implementation of the class, GetFont and GetFont2 are the same method.

Reference

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