Spread Windows Forms 7.0 Product Documentation
ToHorizontalAlignment Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > MultiOptionCellType 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 MultiOptionCellType
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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