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 |
---|
|
public int LineNumberX{ get; set; }
|
Signature |
---|
|
Public Property LineNumberX() As Integer
|
MS Word equivalent: File > Page Setup... > Layout tab > Preview section (make sure Apply To: This Section is selected) > Line Numbers... button > From text:
Code Block |
---|
|
//--- Return LineNumberX
int lineNumberX = oSection.LineNumberX;
//--- Set LineNumberX to .2 inches
oSection.LineNumberX = 288;
|
Code Block |
---|
|
'--- Return LineNumberX
Dim lineNumberX As Integer = oSection.LineNumberX
'--- Set LineNumberX to .2 inches
oSection.LineNumberX = 288
|