Help Center

CTextRange2.GetEmbeddedObjectmethod

Retrieves a pointer to the embedded object at the start of the specified range, that is, at *cpFirst*.

Windowsmethoddocumented

Syntax

FUNCTION GetEmbeddedObject () AS IUnknown PTR

Return value

The pointer to the object.

Description

Retrieves a pointer to the embedded object at the start of the specified range, that is, at cpFirst. The range must either be an insertion point or it must select only the embedded object.

Reference

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