Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / IRenderAlignment Interface / GetHorizontalAlignment Method
Value of the horizontal alignment


In This Topic
    GetHorizontalAlignment Method (IRenderAlignment)
    In This Topic
    Gets the horizontal alignment.
    Syntax
    'Declaration
     
    Function GetHorizontalAlignment( _
       ByVal value As Object _
    ) As CellHorizontalAlignment
    'Usage
     
    Dim instance As IRenderAlignment
    Dim value As Object
    Dim value As CellHorizontalAlignment
     
    value = instance.GetHorizontalAlignment(value)
    CellHorizontalAlignment GetHorizontalAlignment( 
       object value
    )

    Parameters

    value
    Value of the horizontal alignment

    Return Value

    CellHorizontalAlignment object contains the horizontal alignment
    Remarks
    This method is called when the horizontal alignment setting for the cell is CellHorizontalAlignment.General and the GetVerticalAlignment method is called when the vertical alignment setting for the cell is CellVerticalAlignment.General. The class implementing this interface could return a different alignment based on the value type.
    See Also