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

## TextBoxOptions::GetLeftMarginPt method


Gets and sets the left margin in unit of Points.

```cpp
double Aspose::Cells::Drawing::Texts::TextBoxOptions::GetLeftMarginPt()
```


## Examples


```cpp
double val = shape.GetTextBoxOptions().GetLeftMarginPt();
```

## See Also

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