---
title: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetLeftMarginPt method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textboxoptions/setleftmarginpt/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetLeftMarginPt method. Gets and sets the left margin in unit of Points in C++."
---

## TextBoxOptions::SetLeftMarginPt method


Gets and sets the left margin in unit of Points.

```cpp
void Aspose::Cells::Drawing::Texts::TextBoxOptions::SetLeftMarginPt(double value)
```


## Examples


```cpp
shape.GetTextBoxOptions().SetLeftMarginPt(0.2);
```

## See Also

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