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 vertically within the margins. This is is set to false by default.

(This is not supported for charts.)

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

          //--- Get CenterVertically
          bool centerVert = ps.CenterVertically;

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

          '--- Get CenterVertically
          Dim centerVert As Boolean = ps.CenterVertically

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

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

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