[]
Represents the context of painting.
public interface IPaintingContext
Public Interface IPaintingContext
| Name | Description |
|---|---|
| Column | Gets the column index of current context cell. |
| DisplayZeros | Gets a value indicating whether the window should show 0 (zero) in cells containing zero value. |
| EnableDiagonalLine | Gets a boolean value indicating whether cell diagonal line is enable. |
| Graphics | Gets or set the graphics device interface for painting. |
| IsGrayscale | Gets or sets whether to printing with black and white mode. |
| IsLocked | Gets a boolean value indicating whether the cell is in a locked state. |
| IsSelected | Gets a boolean value indicating whether the cell is in a selected state. |
| Location | Get a PaintingLocation value indicates the painting location. |
| LockBackColor | Gets or sets the back color of an object when the cell is locked. |
| LockForeColor | Gets or sets the text color of an object when the cell is locked. |
| RightToLeft | Gets a boolean value indicating whether the cell is in 'right to left' display mode. |
| Row | Gets the row index of current context cell. |
| SelectionBackColor | Gets or sets the text color of an object when the object is selected. |
| SelectionFont | Gets or sets the font for a selected object. |
| SelectionForeColor | Gets or sets the background color of an object when the object is selected. |
| Worksheet | Gets the current context worksheet. |
| ZoomFactorIncludeDpi | Gets the zoom factor used for painting this cell. |
| Name | Description |
|---|---|
| ToGdiBrush(Brush, Rectangle, GraphicsPath) | Gets the corresponding GDI+ brush. |
| ToGdiBrush(Fill, Rectangle, out bool) | Gets the corresponding GDI+ brush. |
| ToGdiColor(SchemeColor) | Gets the corresponding GDI+ color. |
| ToGdiColor(Color) | Gets the corresponding GDI+ color. |
| ToGdiFont(Font, bool) | Gets the corresponding GDI+ font. |
| ToGdiPen(Pen, Rectangle) | Gets the corresponding GDI+ pen. |