Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ImageCellType Class / ImageAlign Property
Example


In This Topic
    ImageAlign Property (ImageCellType)
    In This Topic
    Gets or sets the alignment of an image in relation to the text.
    Syntax
    'Declaration
     
    Public Property ImageAlign As ImageAlign
    'Usage
     
    Dim instance As ImageCellType
    Dim value As ImageAlign
     
    instance.ImageAlign = value
     
    value = instance.ImageAlign
    public ImageAlign ImageAlign {get; set;}

    Property Value

    ImageAlign setting that specifies the alignment of the image
    Remarks

    Use this property to specify the alignment of the picture in the cell in relation to the text. Set the TextOnRight property to specify where the text is placed in the cell (to the left or right of the picture).

    Example
    This example creates an image cell, and places a graphic image in the cell. It aligns the image in the cell and places the text in the cell to the right of the image. It also sizes the column and row containing the cell to better display the image.
    See Also