---
title: "GetInvertIfNegative Method"
url: "https://reference.aspose.com/cells/go-cpp/walls/getinvertifnegative/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "GetInvertIfNegative method. Encapsulates the function that represents getinvertifnegative in Go."
---


## GetInvertIfNegative function

If the property is true and the value of chart point is a negative number,the foreground color and background color will be exchanged.

```go

func (instance *Walls) GetInvertIfNegative()  (bool,  error) 

```

## Remarks


## See Also

* Class [Walls](../)
* Library [Aspose.Cells for Go](../../)
