Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{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\)

...



{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set LineNumberX to .2 inches
          oSection.LineNumberX = 288;
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set LineNumberX to .2 inches
          oSection.LineNumberX = 288
        {code}

{example}
Signature
C#C#
{excerpt}
{signature:C#}
 public int LineNumberX{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property LineNumberX() As Integer
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File > Page Setup... > Layout tab > Preview section \(make sure Apply To: This Section is selected\) > Line Numbers... button > From text:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle