'Declaration Protected Overridable Function GetFittedHeightCore( _ ByVal cell As Cell, _ ByVal mode As AutoHeightMode, _ ByVal cellDisplayWidth As Integer, _ ByVal graphics As Graphics, _ ByVal printing As Boolean _ ) As Integer
'Usage Dim instance As CellViewerManager Dim cell As Cell Dim mode As AutoHeightMode Dim cellDisplayWidth As Integer Dim graphics As Graphics Dim printing As Boolean Dim value As Integer value = instance.GetFittedHeightCore(cell, mode, cellDisplayWidth, graphics, printing)
Parameters
- cell
- The Xceed.Grid.Cell whose content is to be displayed.
- mode
- An Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the viewer will be calculated.
- cellDisplayWidth
- A value, in pixels, representing the display width of the cell. The display width of the cell is its width without the borders.
- graphics
- Gets the System.Drawing.Graphics object used to paint.
- printing
- true if the viewer is being printed; false otherwise.
Return Value
A value representing the fitted height of the viewer in pixels. If -1, then no fitted height is required or
desired.