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

FarPoint.Win.Spread.CellHorizontalAlignment value

Glossary Item Box

Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.


Visual Basic (Declaration) 
Protected Overridable Function ToHorizontalAlignment( _
   ByVal alignment As CellHorizontalAlignment _
) As HorizontalAlignment
Visual Basic (Usage)Copy Code
Dim instance As EditBaseCellType
Dim alignment As CellHorizontalAlignment
Dim value As HorizontalAlignment
value = instance.ToHorizontalAlignment(alignment)
protected virtual HorizontalAlignment ToHorizontalAlignment( 
   CellHorizontalAlignment alignment


FarPoint.Win.Spread.CellHorizontalAlignment value

Return Value

Corresponding FarPoint.Win.HorizontalAlignment setting


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.