Page tree

Versions Compared

Key

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

Excerpt

Returns a Border object that represents the default border for table cells at a specified location for a table created with this formatting. Individual table cells can override these border settings. Allowed locations are: Top, Left, Bottom, Right, Vertical, and Horizontal. Top, Left, Bottom, and Right refer to the default border for those sides of a table cell. Vertical and Horizontal refer to the border between table cells.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a [Border|Border] object that represents the default border for table cells at a specified location for a table created with this formatting. Individual table cells can override these border settings. Allowed locations are: Top, Left, Bottom, Right, Vertical, and Horizontal. Top, Left, Bottom, and Right refer to the default border for those sides of a table cell. Vertical and Horizontal refer to the border between table cells.{excerpt}
{signature:C#}
 public Border GetDefaultBorder(Location location)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetDefaultBorder(ByVal location As Location) As Border
Parameters

...

A Border.Location object that represents the border location to get the border at.

Returns

A Border object that represents the default border for table cells at a specified location for a table created with this formatting.

Remarks

MS Word equivalent: Format menu > Border and Shading... > Borders tab (With "Apply to: Table" selected)

{signature}
{parameters}
{param:location}A [Border.Location|Border.Location] object that represents the border location to get the border at.{param}
{returns}A {{Border}} object that represents the default border for table cells at a specified location for a table created with this formatting.{returns}
{remarks}MS Word equivalent: Format menu > Border and Shading... > Borders tab \(With "Apply to: Table" selected\)

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

          //--- Return DefaultBorder
          Border oBorder = oTableFormatting.GetDefaultBorder(Border.Location.Top);
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return DefaultBorder
          Dim oBorder As Border = oTableFormatting.GetDefaultBorder(Border.Location.Top)
        {code}

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