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

## TextBoxOptions::SetRightMarginPt method


Gets and sets the right margin in unit of Points.

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


## Examples


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

## See Also

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