Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeleteSubrange method

ITextRange2::DeleteSubrange method

Deletes a subrange from a range.

Syntax


HRESULT DeleteSubrange(
  [inlong cpFirst,
  [inlong cpLim
);

Parameters

cpFirst [in]

Type: long

The start character position of the subrange.

cpLim [in]

Type: long

The end character position of the subrange.

Return value

Type: HRESULT

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

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

ITextRange2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft