ImageWebPart.VerticalAlignment property
取得或設定影像的垂直對齊方式。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")> _
Public Property VerticalAlignment As VerticalAlignment
Get
Set
'用途
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
來自Microsoft.SharePoint.WebPartPages.VerticalAlignment列舉型別,表示影像的垂直對齊方式的值。值包含 「 前,「"中間,」 和 「 下方 」。
備註
VerticalAlignment屬性是讀取/寫入。