ITextParagraphFormat.KeepTogether Property

Definition

Gets or sets whether page breaks are allowed in paragraphs.

public:
 property FormatEffect KeepTogether { FormatEffect get(); void set(FormatEffect value); };
FormatEffect KeepTogether();

void KeepTogether(FormatEffect value);
public FormatEffect KeepTogether { get; set; }
var formatEffect = iTextParagraphFormat.keepTogether;
iTextParagraphFormat.keepTogether = formatEffect;
Public Property KeepTogether As FormatEffect

Property Value

A value that indicates whether page breaks are allowed.

Applies to