CenterHorizontally Property (PageSetup)
Gets or sets a value indicating whether the sheet is centered horizontally on the page when it's printed.
public bool CenterHorizontally {get; set;}
'Declaration
Public Property CenterHorizontally As Boolean
'Usage
Dim instance As PageSetup
Dim value As Boolean
instance.CenterHorizontally = value
value = instance.CenterHorizontally
Property Value
true
if the sheet is centered horizontally on the page when it's printed; otherwise,
false
.