ITextStrings::MoveBoundary method (tom.h)

Moves the start boundary of a string, by index, for a selected number of characters.

Syntax

HRESULT MoveBoundary(
  [in] long iString,
  [in] long cch
);

Parameters

[in] iString

Type: long

The string index.

[in] cch

Type: long

The selected number of characters to move the boundary.

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 moves the top string boundary, iString = –1 moves the boundary of the string 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