[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.FpColorPicker.DoPaint

DoPaint Method

DoPaint(Graphics, Rectangle, Color, Color, Font, Color, string, HorizontalAlignment, VerticalAlignment, ColorPickerStyle, UnknownTextStyle, string, bool, int)

Paints the cell.

Declaration
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, Color c, string caption, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, ColorPickerStyle style, UnknownTextStyle textStyle, string unknownText, bool rightToLeft, int boxWidth)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, c As Color, caption As String, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, style As ColorPickerStyle, textStyle As UnknownTextStyle, unknownText As String, rightToLeft As Boolean, boxWidth As Integer)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the cell

Rectangle r

Location and size of a rectangular region

Color backColor

Background color

Color foreColor

Text (foreground) color

Font font

Font

Color c

Color

string caption

Caption text

HorizontalAlignment horizontalAlignment

Horizontal alignment

VerticalAlignment verticalAlignment

Vertical alignment

ColorPickerStyle style

Style

UnknownTextStyle textStyle

Text Style

string unknownText

Text for unknown color

bool rightToLeft

Whether right to left orientation

int boxWidth

Width of the box in pixels

DoPaint(Graphics, Rectangle, Color, Color, Font, Color, string, HorizontalAlignment, VerticalAlignment, ColorPickerStyle, UnknownTextStyle, string, bool, int, float)

Paints the cell.

Declaration
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, Color c, string caption, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, ColorPickerStyle style, UnknownTextStyle textStyle, string unknownText, bool rightToLeft, int boxWidth, float zoomFactor)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, c As Color, caption As String, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, style As ColorPickerStyle, textStyle As UnknownTextStyle, unknownText As String, rightToLeft As Boolean, boxWidth As Integer, zoomFactor As Single)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the cell

Rectangle r

Location and size of a rectangular region

Color backColor

Background color

Color foreColor

Text (foreground) color

Font font

Font

Color c

Color

string caption

Caption text

HorizontalAlignment horizontalAlignment

Horizontal alignment

VerticalAlignment verticalAlignment

Vertical alignment

ColorPickerStyle style

Style

UnknownTextStyle textStyle

Text Style

string unknownText

Text for unknown color

bool rightToLeft

Whether right to left orientation

int boxWidth

Width of the box in pixels

float zoomFactor

The zoom factor.