[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Formula

Formula Property

Formula

Gets or sets the formula of the current shape.

Declaration
string Formula { get; set; }
Property Formula As String
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.Formula = "=A1";
string formula = shape.Formula;