Help Center

CRichEditCtx.SetDocumentParamethod

Windowsmethoddocumented

Syntax

FUNCTION SetDocumentPara (BYVAL pTextPara AS ITextPara2 PTR) AS HRESULT
Also documented as DocumentPara — one description covers them all.

Return value

A pointer to the ITextPara2 interface. When you have finished to use it, you must release it calling its Release method.

Description

Gets/sets an object that provides the default paragraph format information for this instance of the Text Object Model (TOM) engine.

Example

(GET) PROPERTY DocumentPara () AS ITextPara2 PTR (SET) PROPERTY DocumentPara (BYVAL pTextPara AS ITextPara2 PTR)

Reference

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