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