Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Printing Namespace / PageSetup Class / CenterVertically Property


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

    Property Value

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