Skip to main content
ITextStrings::MoveBoundary method

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

iString [in]

Type: long

The string index.

cch [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextStrings