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

## TextBoxOptions::GetRightMarginPt method


Gets and sets the right margin in unit of Points.

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


## Examples


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

## See Also

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