Partager via


IPageSetup.CenterHorizontally Property

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

Syntax

'Declaration
Property CenterHorizontally As Boolean
    Get
    Set
'Usage
Dim instance As IPageSetup
Dim value As Boolean

value = instance.CenterHorizontally

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

Property Value

Type: System.Boolean

See Also

Reference

IPageSetup Interface

IPageSetup Members

Microsoft.Office.Interop.Excel Namespace