Dela via


ITextParagraphFormat.WidowControl Property

Definition

Gets or sets whether widow and orphan suppression is on or off.

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

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

Property Value

The state of widow and orphan suppression.

Remarks

A widow is created when the last line of a paragraph is printed by itself at the top of a page. An orphan is when the first line of a paragraph is printed by itself at the bottom of a page.

Applies to

See also