Spread Windows Forms 12.0 Product Documentation
PaintBackground Method (ITextOrientationSupport2)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ITextOrientationSupport2 Interface : PaintBackground Method
Graphics device interface for painting the cell.
A System.Drawing.Drawing2D.GraphicsPath that specifies filling area.
Apperarance that specifise painting setting.
Object that contains the name of the renderer control
if set to true, the cell is in a selected state.
if set to true, the cell is in a locked state.
Numeric value for scaling the display of the renderer control.
Paint back color.
Syntax
'Declaration
 
Sub PaintBackground( _
   ByVal g As Graphics, _
   ByVal path As GraphicsPath, _
   ByVal appearance As Appearance, _
   ByVal value As Object, _
   ByVal isSelected As Boolean, _
   ByVal isLocked As Boolean, _
   ByVal zoomFactor As Single _
) 
'Usage
 
Dim instance As ITextOrientationSupport2
Dim g As Graphics
Dim path As GraphicsPath
Dim appearance As Appearance
Dim value As Object
Dim isSelected As Boolean
Dim isLocked As Boolean
Dim zoomFactor As Single
 
instance.PaintBackground(g, path, appearance, value, isSelected, isLocked, zoomFactor)
void PaintBackground( 
   Graphics g,
   GraphicsPath path,
   Appearance appearance,
   object value,
   bool isSelected,
   bool isLocked,
   float zoomFactor
)

Parameters

g
Graphics device interface for painting the cell.
path
A System.Drawing.Drawing2D.GraphicsPath that specifies filling area.
appearance
Apperarance that specifise painting setting.
value
Object that contains the name of the renderer control
isSelected
if set to true, the cell is in a selected state.
isLocked
if set to true, the cell is in a locked state.
zoomFactor
Numeric value for scaling the display of the renderer control.
See Also

Reference

ITextOrientationSupport2 Interface
ITextOrientationSupport2 Members