Spread Windows Forms 12.0 Product Documentation
CenterHorizontally Property


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.Printing Namespace > PageSetup Class : CenterHorizontally Property
Gets or sets a value indicating whether the sheet is centered horizontally on the page when it's printed.
Syntax
'Declaration
 
Public Property CenterHorizontally As Boolean
'Usage
 
Dim instance As PageSetup
Dim value As Boolean
 
instance.CenterHorizontally = value
 
value = instance.CenterHorizontally
public bool CenterHorizontally {get; set;}

Property Value

true if the sheet is centered horizontally on the page when it's printed; otherwise, false.
See Also

Reference

PageSetup Class
PageSetup Members