[]
Gets or sets the distance, in points, between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text.
This value controls the internal right margin for text displayed in a shape.
float MarginRight { get; set; }
Property MarginRight As Single
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 120, 60);
ITextFrame textFrame = shape.TextFrame;
textFrame.MarginRight = 6.0f;
float marginRight = textFrame.MarginRight;