ITextStrings::InsertNullStr method (tom.h)

Inserts a NULL string in the collection at a selected string index.

Syntax

HRESULT InsertNullStr(
  [in] long iString
);

Parameters

[in] iString

Type: long

The string index.

Return value

Type: HRESULT

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

Remarks

The index is relative to the top of the collection, so iString = 0 inserts the NULL string at the top, iString = –1 inserts it below the top string, and so on.

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

ITextStrings