'Declaration Protected Friend Overridable Function GetFittedDisplayHeight( _ ByVal mode As AutoHeightMode, _ ByVal cellDisplayWidth As Integer, _ ByVal graphics As Graphics, _ ByVal printing As Boolean _ ) As Integer
'Usage Dim instance As Cell Dim mode As AutoHeightMode Dim cellDisplayWidth As Integer Dim graphics As Graphics Dim printing As Boolean Dim value As Integer value = instance.GetFittedDisplayHeight(mode, cellDisplayWidth, graphics, printing)
protected internal virtual int GetFittedDisplayHeight( AutoHeightMode mode, int cellDisplayWidth, Graphics graphics, bool printing )
Parameters
- mode
- An AutoHeightMode value indicating in regards to what factors the fitted height of the cell 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
- The System.Drawing.Graphics object used to paint the cell.
- printing
- true if the cell is being printed; false otherwise.
Return Value
The fitted height of the cell in pixels.