Spread Windows Forms 10.0 Product Documentation
GetHorizontalAlignment Method (IRenderAlignment)


Value of the horizontal alignment
Gets the horizontal alignment.
Syntax
'Declaration
 
Function GetHorizontalAlignment( _
   ByVal value As Object _
) As CellHorizontalAlignment
'Usage
 
Dim instance As IRenderAlignment
Dim value As Object
Dim value As CellHorizontalAlignment
 
value = instance.GetHorizontalAlignment(value)
CellHorizontalAlignment GetHorizontalAlignment( 
   object value
)

Parameters

value
Value of the horizontal alignment

Return Value

CellHorizontalAlignment object contains the horizontal alignment
Remarks
This 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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

IRenderAlignment Interface
IRenderAlignment Members
GetVerticalAlignment Method

 

 


Copyright © GrapeCity, inc. All rights reserved.