Skip to end of metadata
Go to start of metadata

Description

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

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

Remarks

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

Remarks

$body

Examples

$body

C#

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

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

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

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

Examples

$body
  • No labels