共用方式為


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

屬性值

值,指出是否允許分頁符號。

適用於