## NegativeBarFormat class


Represents the color settings of the data bars for negative values that are defined by a data bar conditional formatting rule.

```cpp
class NegativeBarFormat
```

## Methods

| Method | Description |
| --- | --- |
| [GetBorderColor()](./getbordercolor/) | Gets or sets a FormatColor object that you can use to specify the border color for negative data bars. |
| [GetBorderColorType()](./getbordercolortype/) | Indicates whether to use the same border color as positive data bars. |
| [GetColor()](./getcolor/) | Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars. |
| [GetColorType()](./getcolortype/) | Gets or sets whether to use the same fill color as positive data bars. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| [NegativeBarFormat(NegativeBarFormat_Impl* impl)](./negativebarformat/) | Constructs from an implementation object. |
| [NegativeBarFormat(const NegativeBarFormat\& src)](./negativebarformat/) | Copy constructor. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const NegativeBarFormat\& src)](./operator_asm/) | operator= |
| [SetBorderColor(const Aspose::Cells::Color\& value)](./setbordercolor/) | Gets or sets a FormatColor object that you can use to specify the border color for negative data bars. |
| [SetBorderColorType(DataBarNegativeColorType value)](./setbordercolortype/) | Indicates whether to use the same border color as positive data bars. |
| [SetColor(const Aspose::Cells::Color\& value)](./setcolor/) | Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars. |
| [SetColorType(DataBarNegativeColorType value)](./setcolortype/) | Gets or sets whether to use the same fill color as positive data bars. |
| [~NegativeBarFormat()](./~negativebarformat/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
