Compartilhar via


ImageWebPart.VerticalAlignment property

Obtém ou define o alinhamento vertical da imagem.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")> _
Public Property VerticalAlignment As VerticalAlignment
    Get
    Set
'Uso
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
O valor da enumeração Microsoft.SharePoint.WebPartPages.VerticalAlignment que indica o alinhamento vertical da imagem. Os valores incluem "Top", "Middle" e "Bottom".

Comentários

A propriedade VerticalAlignment é somente leitura.

Ver também

Referência

ImageWebPart class

ImageWebPart members

Microsoft.SharePoint.WebPartPages namespace