Paragraph.NoLineNumber Property 

Determines if line numbers are repressed for the specified paragraphs.

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

Usage

Dim paragraph1 As Paragraph

Dim returnValue As Integer
returnValue = paragraph1.NoLineNumber

Dim sampleValue As Integer
paragraph1.NoLineNumber = sampleValue

Syntax

Property NoLineNumber() As Integer
int NoLineNumber {get; set;}
property Int32 NoLineNumber{
    Int32 get();
    Void set(Int32);
}
public int get_NoLineNumber();
public void set_NoLineNumber(int);
function get NoLineNumber() : int;
function set NoLineNumber(int);

Remarks

This property returns True if line numbers are repressed for the specified paragraphs, and False if not. Set the property value to True or False to enable or disable the functionality.

Possible values are True, False, or wdUndefined.

Use the LineNumbering property to set line numbers.

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

Paragraph Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Paragraph Members