Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > ParagraphFormatting > LineNumberingAllowed

LineNumberingAllowed Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns a boolean that represents if Word will display line numbers next to a paragraph. This property has no effect in documents or sections with no line numbers.

MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Pagination section > Suppress line numbers

LineNumberingAllowed is a read / write property.



Examples:

[csharp]
// Return LineNumberingAllowed
bool lineNumberingAllowed = oParagraphFormatting.LineNumberingAllowed;
// Set LineNumberingAllowed
oParagraphFormatting.LineNumberingAllowed(true);
[vbnet]
' Return LineNumberingAllowed
Dim lineNumberingAllowed As Boolean = oParagraphFormatting.LineNumberingAllowed
' Set LineNumberingAllowed
oParagraphFormatting.LineNumberingAllowed(True)


Getter

Signature:

public boolean LineNumberingAllowed

Returns:

boolean A boolean that represents if Word will display line numbers next to a paragraph.

Setter

Signature:

public void LineNumberingAllowed boolean allowed

Type:

boolean



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.