ImageWebPart.VerticalAlignment property
Gets or sets vertical alignment for the image.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")> _
Public Property VerticalAlignment As VerticalAlignment
Get
Set
'Usage
Dim instance As ImageWebPart
Dim value As VerticalAlignment
value = instance.VerticalAlignment
instance.VerticalAlignment = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")]
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.