## LineFormat::GetWeight method


Gets or sets the weight of the line in unit of points.

```cpp
double Aspose::Cells::Drawing::LineFormat::GetWeight()
```


## Examples


```cpp
if (lineFmt.GetWeight() == 1.0)
{
    lineFmt.SetWeight(2.0);
}
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LineFormat](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
