Compartilhar via


DisplayFormat.HorizontalAlignment Property

Gets a value that represents the horizontal alignment of the associated Range object as it is displayed in the current user interface.

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

Syntax

'Declaration
ReadOnly Property HorizontalAlignment As Object
    Get
'Usage
Dim instance As DisplayFormat
Dim value As Object

value = instance.HorizontalAlignment
Object HorizontalAlignment { get; }

Property Value

Type: System.Object
The horizontal alignment of the associated Range object as it is displayed in the current user interface.

Remarks

Read-only.

See Also

Reference

DisplayFormat Interface

DisplayFormat Members

Microsoft.Office.Interop.Excel Namespace