ITextRow::SetKeepTogether method (tom.h)

Sets whether this row is allowed to be broken across pages.

Syntax

HRESULT SetKeepTogether(
  long Value
);

Parameters

Value

Type: long

A tomBool value that indicates whether this row can be broken across pages.

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]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextRow

ITextRow::GetKeepTogether