ConditionalFormat
Overview
ConditionalFormat is a class in Aspose.Cells FOSS for Python.
Represents a single conditional formatting rule applied to a cell range.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | `` | Read | Gets or sets the conditional format type. |
range | `` | Read | Gets or sets the cell range for the conditional format. |
stop_if_true | `` | Read | Gets or sets whether to stop evaluating lower priority rules if this rule is true. |
priority | `` | Read | Gets or sets the rule priority. |
operator | `` | Read | Gets or sets the comparison operator for cell value rules. |
formula1 | `` | Read | Gets or sets the first value/formula for comparison. |
formula2 | `` | Read | Gets or sets the second value/formula for comparison. |
text_operator | `` | Read | Gets or sets the text operator for text rules. |
text_formula | `` | Read | Gets or sets the text value for comparison. |
date_operator | `` | Read | Gets or sets the date operator for date rules. |
date_formula | `` | Read | Gets or sets the optional date value for comparison. |
duplicate | `` | Read | Gets or sets whether to highlight duplicate values. |
top | `` | Read | Gets or sets whether to highlight top values. |
percent | `` | Read | Gets or sets whether rank is a percentage. |
rank | `` | Read | Gets or sets the rank value. |
above | `` | Read | Gets or sets whether to highlight above average. |
std_dev | `` | Read | Gets or sets the number of standard deviations. |
color_scale_type | `` | Read | Gets or sets the color scale type. |
min_color | `` | Read | Gets or sets the minimum value color for color scales. |
mid_color | `` | Read | Gets or sets the midpoint color for 3-color scales. |
max_color | `` | Read | Gets or sets the maximum value color for color scales. |
bar_color | `` | Read | Gets or sets the bar color for data bars. |
negative_color | `` | Read | Gets or sets the negative value color for data bars. |
show_border | `` | Read | Gets or sets whether to show border for data bars. |
direction | `` | Read | Gets or sets the bar direction for data bars. |
bar_length | `` | Read | Gets or sets the bar length for data bars. |
icon_set_type | `` | Read | Gets or sets the icon set type. |
reverse_icons | `` | Read | Gets or sets whether to reverse icon order. |
show_icon_only | `` | Read | Gets or sets whether to show only icons. |
formula | `` | Read | Gets or sets the formula for formula-based rules. |
font | `` | Read | Gets the font settings for this conditional format. |
border | `` | Read | Gets the border settings for this conditional format. |
fill | `` | Read | Gets the fill settings for this conditional format. |
alignment | `` | Read | Gets the alignment settings for this conditional format. |
number_format | `` | Read | Gets or sets the number format for this conditional format. |
Methods
| Signature | Description |
|---|---|
__init__() | Initializes a new instance of ConditionalFormat class. |