Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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:vb.net}
Public Property CenterVertically() As Boolean
{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}