de la propiedad ImageWebPart.HorizontalAlignment
Obtiene o establece la alineación horizontal de la imagen.
Espacio de nombres: Microsoft.SharePoint.WebPartPages
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
<ResourcesAttribute("HorizontalAlignmentLabel", "Advanced", "HorizontalAlignment")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property HorizontalAlignment As HorizontalAlignment
Get
Set
'Uso
Dim instance As ImageWebPart
Dim value As HorizontalAlignment
value = instance.HorizontalAlignment
instance.HorizontalAlignment = value
[ResourcesAttribute("HorizontalAlignmentLabel", "Advanced", "HorizontalAlignment")]
[WebPartStorageAttribute(Storage.Shared)]
public HorizontalAlignment HorizontalAlignment { get; set; }
Valor de propiedad
Tipo: Microsoft.SharePoint.WebPartPages.HorizontalAlignment
El valor de la enumeración Microsoft.SharePoint.WebPartPages.HorizontalAlignment . Los valores son "Left", "Centro" y "Derecha".
Comentarios
La propiedad HorizontalAlignment es de lectura/escritura.