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 space to maintain between the border and the text in twips. One twip = \(1/20 pt\) or \(1/1440 in\)

...

Signature
C#C#
{excerpt}
{signature:C#}
 public int Padding{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Padding() As Integer
Remarks

The minimum width is 0 points and the maximum width is 32 points. Values beyond these will be automatically adjusted.

MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Options button > From text

{signature}
{remarks}The minimum width is 0 points and the maximum width is 32 points. Values beyond these will be automatically adjusted.

MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Options button > From text

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

          //--- Get Padding
          int padding = brdr.Padding;

          //--- Set Padding to 4 points
          brdr.Padding = 80;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get Padding
          Dim padding As Integer = brdr.Padding

          '--- Set Padding to 4 points
          brdr.Padding = 80
        {code}

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