ITextPara::GetListStart method

Retrieves the starting value or code of a list numbering sequence.

Syntax

HRESULT GetListStart(
  long *pValue
);

Parameters

pValue

Type: long*

The starting value or code of a list numbering sequence. For the possible values, see the ITextPara::GetListType method.

Return value

Type: HRESULT

If ITextPara::GetListStart succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.

Return code Description
Value
Meaning
E_INVALIDARG
Invalid argument.
CO_E_RELEASED
The paragraph formatting object is attached to a range that has been deleted.

Remarks

For a discussion on which sequence to use, see the ITextPara::GetListType method.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

Conceptual

GetListType

ITextPara

Reference

SetListStart

SetListType

Text Object Model