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


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

    Parameters

    value
    Value of the vertical alignment

    Return Value

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