[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginLeft

MarginLeft Property

MarginLeft

Gets or sets the distance, in points, between the left edge of the text frame and the left edge of the inscribed rectangle of the shape that contains the text.

Use this property to determine the inner left margin applied to text within a shape's text frame.

Declaration
float MarginLeft { get; set; }
Property MarginLeft As Single
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 120, 60);
ITextFrame textFrame = shape.TextFrame;
textFrame.MarginLeft = 6.0f;
float marginLeft = textFrame.MarginLeft;