ITextParagraphFormat.WidowControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.