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


alignment
FarPoint.Win.Spread.CellHorizontalAlignment value

Glossary Item Box

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

Syntax

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

Parameters

alignment
FarPoint.Win.Spread.CellHorizontalAlignment value

Return Value

Corresponding FarPoint.Win.HorizontalAlignment 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.