[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.ITextOrientationSupport2.PaintText

PaintText Method

PaintText(Graphics, Rectangle, Appearance, object, bool, bool, float, ExtraRendererSettings, bool, int)

Paint diagonal line rotated text.

Declaration
void PaintText(Graphics g, Rectangle r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor, ExtraRendererSettings extraRendererSettings, bool diagonalLine, int adjustTop)
Sub PaintText(g As Graphics, r As Rectangle, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single, extraRendererSettings As ExtraRendererSettings, diagonalLine As Boolean, adjustTop As Integer)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the cell.

Rectangle r

Original boundary rectangle to paint.

Appearance appearance

Apperarance that specifise painting setting.

object value

Object that contains the name of the renderer control

bool isSelected

if set to true, the cell is in a selected state.

bool isLocked

if set to true, the cell is in a locked state.

float zoomFactor

Numeric value for scaling the display of the renderer control.

ExtraRendererSettings extraRendererSettings

The extra renderer settings.

bool diagonalLine

if set to true, the cell is painting as a diagonal line cell.

int adjustTop

Adjusting value to scale the original bound rectangle to the diagonal line area.