Compartilhar via


PageSetup.CenterVertically Property

True if the sheet is centered vertically on the page when it's printed.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property CenterVertically As Boolean
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Boolean

value = instance.CenterVertically

instance.CenterVertically = value
bool CenterVertically { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace