[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.IEmbeddedControlSupport.ControlPaint

ControlPaint Method

ControlPaint(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the embedded child control.

Declaration
void ControlPaint(Graphics g, Rectangle r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)
Sub ControlPaint(g As Graphics, r As Rectangle, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single)
Parameters
Type Name Description
Graphics g

Graphics device interface

Rectangle r

Location and size of a rectangular region bounding the control

Appearance appearance

Appearance settings for the control

object value

Object - name of the renderer

bool isSelected

Whether the control is selected

bool isLocked

Whether the cell is locked

float zoomFactor

Scaling factor for zooming when painting the control