ITextStory::GetIndex method (tom.h)

Gets the index of a story.

Syntax

HRESULT GetIndex(
  [out, retval] long *pValue
);

Parameters

[out, retval] pValue

Type: long*

The index.

Return value

Type: HRESULT

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

Remarks

The index is used with the ITextDocument2:: GetStory method.

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

See also

ITextStory