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 gutter width for this section. The gutter adds space to the margin. Gutters are used when a document needs additional space to allow for binding. One twip = (1/20 pt) or (1/1440 in)

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} that represents the gutter width for this section. The gutter adds space to the margin. Gutters are used when a document needs additional space to allow for binding. One twip = \(1/20 pt\) or \(1/1440 in\){excerpt}
{signature:C#}
 public int GutterWidth{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property GutterWidth() As Integer
Remarks

Gutter width may not be smaller than 0" (0 twips) or larger than 22" (31680 twips). Values beyond these will be automatically adjusted.

MS Word equivalent: File menu > Page Setup... > Margins tab > Gutter: -- (Make sure Apply to: This section is selected)

{signature}
{remarks}Gutter width may not be smaller than 0" \(0 twips\) or larger than 22" \(31680 twips\). Values beyond these will be automatically adjusted.

MS Word equivalent: File menu > Page Setup... > Margins tab > Gutter: \-\- \(Make sure Apply to: This section is selected\)

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

          //--- Return GutterWidth
          int gutterWidth = oSection.GutterWidth;

          //--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return GutterWidth
          Dim gutterWidth As Integer = oSection.GutterWidth

          '--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle