Visual Basic (Declaration) | |
---|---|
Function GetHorizontalAlignment( _ ByVal value As Object _ ) As CellHorizontalAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IRenderAlignment Dim value As Object Dim value As CellHorizontalAlignment value = instance.GetHorizontalAlignment(value) |
C# | |
---|---|
CellHorizontalAlignment GetHorizontalAlignment( object value ) |
Parameters
- value
- Value of the horizontal alignment
Return Value
CellHorizontalAlignment object contains the horizontal alignmentThis method is called when the horizontal alignment setting for the cell is CellHorizontalAlignment.General and the GetVerticalAlignment method is called when the vertical alignment setting for the cell is CellVerticalAlignment.General. The class implementing this interface could return a different alignment based on the value type.
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