## LineFormat::SetCapType method


Specifies the ending caps.

```cpp
void Aspose::Cells::Drawing::LineFormat::SetCapType(LineCapType value)
```


## Examples


```cpp
lineFmt.SetCapType(LineCapType::Flat);
```

## See Also

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