ITextRange::GetStart method (tom.h)

Gets the start character position of the range.

Syntax

HRESULT GetStart(
  long *pcpFirst
);

Parameters

pcpFirst

Type: long*

The start character position.

Return value

Type: HRESULT

The method returns an HRESULT value. If the method succeeds, it returns S_OK. If pcpFirst is null, the method fails and it returns E_INVALIDARG.

Requirements

Requirement Value
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

GetEnd

ITextRange

Reference

SetStart

Text Object Model