Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Printing Namespace / IPageSetup Interface / CenterVertically Property


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

    Property Value

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