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 whether or not the data of the worksheet is centered horizontally within the margins. This is is set to false by default.

(This is not supported for charts.)

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

          //--- Get CenterHorizontally
          bool centerHoriz = ps.CenterHorizontally

          //--- Set CenterHorizontally
          ps.CenterHorizontally = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get CenterHorizontally
          Dim centerHoriz As Boolean = ps.CenterHorizontally

          '--- Set CenterHorizontally
          ps.CenterHorizontally = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns whether or not the data of the worksheet is centered horizontally within the margins. This is is set to false by default.

_(This is not supported for charts.)_
{excerpt}
{signature:C#}
 public boolean CenterHorizontally{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property CenterHorizontally() As Boolean
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle