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

PageSetup.CenterHorizontally

Description

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

C#
=20
public boolean CenterHorizontally{ get; set; }<=
/pre>=20
=20
vb.net
=20
Public Property CenterHorizontally() As Boolean<=
/pre>=20
=20

Examples

=20
C#
=20
          //--- Get CenterHorizontally
          bool centerHoriz =3D ps.CenterHorizontally

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

          '--- Set CenterHorizontally
          ps.CenterHorizontally =3D True
        
=20
------=_Part_8120_474928781.1711632791213--