ConditionalFormat

ConditionalFormat

Overview

ConditionalFormat is a class in Aspose.Cells FOSS for Python.

Represents a single conditional formatting rule applied to a cell range.

Properties

NameTypeAccessDescription
type``ReadGets or sets the conditional format type.
range``ReadGets or sets the cell range for the conditional format.
stop_if_true``ReadGets or sets whether to stop evaluating lower priority rules if this rule is true.
priority``ReadGets or sets the rule priority.
operator``ReadGets or sets the comparison operator for cell value rules.
formula1``ReadGets or sets the first value/formula for comparison.
formula2``ReadGets or sets the second value/formula for comparison.
text_operator``ReadGets or sets the text operator for text rules.
text_formula``ReadGets or sets the text value for comparison.
date_operator``ReadGets or sets the date operator for date rules.
date_formula``ReadGets or sets the optional date value for comparison.
duplicate``ReadGets or sets whether to highlight duplicate values.
top``ReadGets or sets whether to highlight top values.
percent``ReadGets or sets whether rank is a percentage.
rank``ReadGets or sets the rank value.
above``ReadGets or sets whether to highlight above average.
std_dev``ReadGets or sets the number of standard deviations.
color_scale_type``ReadGets or sets the color scale type.
min_color``ReadGets or sets the minimum value color for color scales.
mid_color``ReadGets or sets the midpoint color for 3-color scales.
max_color``ReadGets or sets the maximum value color for color scales.
bar_color``ReadGets or sets the bar color for data bars.
negative_color``ReadGets or sets the negative value color for data bars.
show_border``ReadGets or sets whether to show border for data bars.
direction``ReadGets or sets the bar direction for data bars.
bar_length``ReadGets or sets the bar length for data bars.
icon_set_type``ReadGets or sets the icon set type.
reverse_icons``ReadGets or sets whether to reverse icon order.
show_icon_only``ReadGets or sets whether to show only icons.
formula``ReadGets or sets the formula for formula-based rules.
font``ReadGets the font settings for this conditional format.
border``ReadGets the border settings for this conditional format.
fill``ReadGets the fill settings for this conditional format.
alignment``ReadGets the alignment settings for this conditional format.
number_format``ReadGets or sets the number format for this conditional format.

Methods

SignatureDescription
__init__()Initializes a new instance of ConditionalFormat class.

See Also