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 alignmentThis 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.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8