ITextParagraphFormat.KeepTogether 属性

定义

获取或设置段落中是否允许分页符。

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

属性值

一个 值,该值指示是否允许分页符。

适用于