ITextRow::CanChange method (tom.h)

Determines whether changes can be made to this row.

Syntax

HRESULT CanChange(
  [out, retval] long *pValue
);

Parameters

[out, retval] pValue

Type: long*

A tomBool indicating whether the row can be edited. It is tomTrue only if the row can be edited. The pB parameter can be NULL.

Return value

Type: HRESULT

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

Remarks

The row can be changed only if no part of an associated range is protected and the associated document isn't read only.

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

ITextRow