_Document.ConsecutiveHyphensLimit Property 

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim _Document1 As _Document

Dim returnValue As Integer
returnValue = _Document1.ConsecutiveHyphensLimit

Dim sampleValue As Integer
_Document1.ConsecutiveHyphensLimit = sampleValue

Syntax

Property ConsecutiveHyphensLimit() As Integer
int ConsecutiveHyphensLimit {get; set;}
property Int32 ConsecutiveHyphensLimit{
    Int32 get();
    Void set(Int32);
}
public int get_ConsecutiveHyphensLimit();
public void set_ConsecutiveHyphensLimit(int);
function get ConsecutiveHyphensLimit() : int;
function set ConsecutiveHyphensLimit(int);

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_Document Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Document Members