ImageWebPart.VerticalAlignment Property
Gets or sets vertical alignment for the image.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property VerticalAlignment As VerticalAlignment
Get
Set
'Usage
Dim instance As ImageWebPart
Dim value As VerticalAlignment
value = instance.VerticalAlignment
instance.VerticalAlignment = value
[ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")]
[WebPartStorageAttribute(Storage.Shared)]
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type: Microsoft.SharePoint.WebPartPages.VerticalAlignment
Value from the Microsoft.SharePoint.WebPartPages.VerticalAlignment enumeration that indicates the vertical alignment for the image. Values include "Top," "Middle," and "Bottom."
Remarks
The VerticalAlignment property is read/write.