Message-ID: <1615915024.8359.1711643305141.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8358_1940587259.1711643305141" ------=_Part_8358_1940587259.1711643305141 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html PageSetup.CenterVertically

PageSetup.CenterVertically

Description

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.)

C#
=20
public boolean CenterVertically{ get; set; }=20
=20
vb.net
=20
Public Property CenterVertically() As Boolean=20
=20

Examples

=20
C#
=20
          //--- Get CenterVertically
          bool centerVert =3D ps.CenterVertically;

          //--- Set CenterVertically
          ps.CenterVertically =3D true;
        
=20
vb.net
=20
          '--- Get CenterVertically
          Dim centerVert As Boolean =3D ps.CenterVertically

          '--- Set CenterVertically
          ps.CenterVertically =3D True
        
=20
------=_Part_8358_1940587259.1711643305141--