Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns an int that represents the x position of line numbers in twips. One twip = (1/20 pt) or ( 1/1440 in)

Signature
C#
C#
 public int LineNumberX{ get; set; }
Signature
vb.net
vb.net
Public Property LineNumberX() As Integer

Remarks

MS Word equivalent: File > Page Setup... > Layout tab > Preview section (make sure Apply To: This Section is selected) > Line Numbers... button > From text:

Remarks

Example

Code Block
csharp
csharp
titleC#

          //--- Return LineNumberX
          int lineNumberX = oSection.LineNumberX;

          //--- Set LineNumberX to .2 inches
          oSection.LineNumberX = 288;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return LineNumberX
          Dim lineNumberX As Integer = oSection.LineNumberX

          '--- Set LineNumberX to .2 inches
          oSection.LineNumberX = 288
        
Example