共用方式為


Document.ConsecutiveHyphensLimit Property

Gets or sets the maximum number of consecutive lines that can end with hyphens.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property ConsecutiveHyphensLimit As Integer
int ConsecutiveHyphensLimit { get; set; }

Property Value

Type: System.Int32
The maximum number of consecutive lines that can end with hyphens.

Remarks

If this property is set to 0 (zero), any number of consecutive lines can end with hyphens.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace