Spread Windows Forms 6.0 Product Documentation
ToVerticalAlignment Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ButtonCellType Class : ToVerticalAlignment Method


alignment
FarPoint.Win.Spread.CellVerticalAlignment

Glossary Item Box

Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function ToVerticalAlignment( _
   ByVal alignment As CellVerticalAlignment _
) As VerticalAlignment
Visual Basic (Usage)Copy Code
Dim instance As ButtonCellType
Dim alignment As CellVerticalAlignment
Dim value As VerticalAlignment
 
value = instance.ToVerticalAlignment(alignment)
C# 
protected virtual VerticalAlignment ToVerticalAlignment( 
   CellVerticalAlignment alignment
)

Parameters

alignment
FarPoint.Win.Spread.CellVerticalAlignment

Return Value

Corresponding FarPoint.Win.VerticalAlignment setting

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.