Partager via


DisplayUnitLabel.VerticalAlignment Property

Returns or sets the vertical alignment of the specified object. Read/write.

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

Syntax

'Declaration
Property VerticalAlignment As Object
    Get
    Set
'Usage
Dim instance As DisplayUnitLabel
Dim value As Object

value = instance.VerticalAlignment

instance.VerticalAlignment = value
Object VerticalAlignment { get; set; }

Property Value

Type: System.Object

Remarks

You can set the value of this property to one of the following XlConstants constants:

xlBottom

xlCenter

xlDistributed

xlJustify

xlTop

See Also

Reference

DisplayUnitLabel Interface

DisplayUnitLabel Members

Microsoft.Office.Interop.PowerPoint Namespace