Sets or returns a boolean representing if widow control is in effect for this Document.

public boolean UseWidowControl{ get; set; }
Public Property UseWidowControl() As Boolean

The default value for a new Document is false.

          //--- Return UseWidowControl
          bool useWidowControl = oDocument.UseWidowControl;

          //--- Set UseWidowControl
          oDocument.UseWidowControl = true;
        
          '--- Return UseWidowControl
          Dim useWidowControl As Boolean = oDocument.UseWidowControl

          '--- Set UseWidowControl
          oDocument.UseWidowControl = True