ITextDocument2::GetDocumentPara method (tom.h)

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

Syntax

HRESULT GetDocumentPara(
  [out, retval] ITextPara2 **ppPara
);

Parameters

[out, retval] ppPara

Type: ITextPara2**

The object that provides the default paragraph format information.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextDocument2

ITextDocument2::SetDocumentPara