Spread Windows Forms 6.0 Product Documentation
GetVerticalAlignment Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > IRenderAlignment Interface : GetVerticalAlignment Method


value
Value of the vertical alignment

Glossary Item Box

Gets the vertical alignment.

Syntax

Visual Basic (Declaration) 
Function GetVerticalAlignment( _
   ByVal value As Object _
) As CellVerticalAlignment
Visual Basic (Usage)Copy Code
Dim instance As IRenderAlignment
Dim value As Object
Dim value As CellVerticalAlignment
 
value = instance.GetVerticalAlignment(value)
C# 
CellVerticalAlignment GetVerticalAlignment( 
   object value
)

Parameters

value
Value of the vertical alignment

Return Value

CellVerticalAlignment object contains the vertical alignment

Remarks

This method is called when the vertical alignment setting for the cell is CellVerticalAlignment.General and the GetHorizontalAlignment method is called when the horizontal alignment setting for the cell is CellHorizontalAlignment.General. The class implementing this interface could return a different alignment based on the value type.

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.