alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ITextBoxShapeEx

    This interface represents TextBox form control shape.

    Inherited Members
    IParentApplication.Application
    IParentApplication.Parent
    IShape.AlternativeText
    IShape.Fill
    IShape.Height
    IShape.HeightDouble
    IShape.Hyperlink
    IShape.Id
    IShape.IsMoveWithCell
    IShape.IsShapeVisible
    IShape.IsSizeWithCell
    IShape.Left
    IShape.LeftDouble
    IShape.Line
    IShape.Name
    IShape.OnAction
    IShape.Remove()
    IShape.Scale(int, int)
    IShape.Shadow
    IShape.ShapeRotation
    IShape.ShapeType
    IShape.TextFrame
    IShape.ThreeD
    IShape.Top
    IShape.TopDouble
    IShape.Width
    IShape.WidthDouble
    ITextBox.HAlignment
    ITextBox.IsTextLocked
    ITextBox.LockText
    ITextBox.RichText
    ITextBox.Text
    ITextBox.TextRotation
    ITextBox.VAlignment
    Namespace: Syncfusion.XlsIO
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public interface ITextBoxShapeEx : ITextBoxShape, ITextBox, IShape, IParentApplication

    Properties

    TextLink

    Text of the comment.

    Declaration
    string TextLink { get; set; }
    Property Value
    Type
    string
    Examples

    The following code illustrates how to set TextLink property.

    using (ExcelEngine excelEngine = new ExcelEngine())
    {
        //Create worksheet
        IApplication application = excelEngine.Excel;
        application.DefaultVersion = ExcelVersion.Excel2013;
        IWorkbook workbook = application.Workbooks.Create(1);
        IWorksheet worksheet = workbook.Worksheets[0];
    
        //Add data
        worksheet["C4"].Value = "Text";
    
        //Add shape
        ITextBoxShapeEx shape = worksheet.Shapes.AddTextBox();
    
        //Set dimensions
        shape.Top = 40;
        shape.Left = 20;
        shape.Height = 30;
        shape.Width = 70;
    
        //Set text link
        shape.TextLink = "=C4";
    
        //Save and dispose
        workbook.SaveAs("Shapes.xlsx");
        workbook.Close();
    }
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved