Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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#
public int GutterWidth{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property GutterWidth() As Integer
{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#}
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)

Example
Code Block
csharp
csharp
titleC#
          
//--- Return GutterWidth
          int gutterWidth = oSection.GutterWidth;

          //--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return GutterWidth
          Dim gutterWidth As Integer = oSection.GutterWidth

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