Page tree

Versions Compared

Key

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

Excerpt

Sets or returns an int that represents the horizontal distance of the left margin from the left edge of the page for this section. One twip = (1/20 pt) or (1/1440 in)

\)

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

          //--- Return LeftMargin
          int leftMargin = oSection.LeftMargin;

          //--- Set LeftMargin to 1 inch
          oSection.LeftMargin = 1440;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return LeftMargin
          Dim leftMargin As Integer = oSection.LeftMargin

          '--- Set LeftMargin to 1 inch
          oSection.LeftMargin = 1440
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} that represents the horizontal distance of the left margin from the left edge of the page for this section. One twip = \(1/20 pt\) or \(1/1440 in\){excerpt}
{signature:C#}
 public int LeftMargin{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property LeftMargin() As Integer
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Page Setup... > Margins tab > Left: \-\- \(Make sure Apply to: This section is selected
)
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle