Spread Windows Forms 12.0 Product Documentation
ToVerticalAlignment Method (MultiOptionCellType)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > MultiOptionCellType Class : ToVerticalAlignment Method
FarPoint.Win.Spread.CellVerticalAlignment
Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.
Syntax
'Declaration
 
Protected Overridable Function ToVerticalAlignment( _
   ByVal alignment As CellVerticalAlignment _
) As VerticalAlignment
'Usage
 
Dim instance As MultiOptionCellType
Dim alignment As CellVerticalAlignment
Dim value As VerticalAlignment
 
value = instance.ToVerticalAlignment(alignment)
protected virtual VerticalAlignment ToVerticalAlignment( 
   CellVerticalAlignment alignment
)

Parameters

alignment
FarPoint.Win.Spread.CellVerticalAlignment

Return Value

Corresponding FarPoint.Win.VerticalAlignment setting
See Also

Reference

MultiOptionCellType Class
MultiOptionCellType Members