Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / ToVerticalAlignment Method
FarPoint.Win.Spread.CellVerticalAlignment value


In This Topic
    ToVerticalAlignment Method (SpreadView)
    In This Topic
    Converts a FarPoint.Win.Spread.CellVerticalAlignment setting to the corresponding FarPoint.Win.VerticalAlignment setting.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ToVerticalAlignment( _
       ByVal alignment As CellVerticalAlignment _
    ) As VerticalAlignment
    'Usage
     
    
    Dim instance As SpreadView
    Dim alignment As CellVerticalAlignment
    Dim value As VerticalAlignment
     
    value = instance.ToVerticalAlignment(alignment)
    protected virtual VerticalAlignment ToVerticalAlignment( 
       CellVerticalAlignment alignment
    )

    Parameters

    alignment
    FarPoint.Win.Spread.CellVerticalAlignment value

    Return Value

    Corresponding FarPoint.Win.VerticalAlignment value
    See Also