menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ITextBoxShapeEx - Xamarin.Android API Reference | Syncfusion

    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(Int32, Int32)
    IShape.Shadow
    IShape.ShapeRotation
    IShape.ShapeType
    IShape.TextFrame
    IShape.ThreeD
    IShape.Top
    IShape.TopDouble
    IShape.Width
    IShape.WidthDouble
    ITextBox.HAlignment
    ITextBox.IsTextLocked
    ITextBox.RichText
    ITextBox.Text
    ITextBox.TextRotation
    ITextBox.VAlignment
    Namespace: Syncfusion.XlsIO
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public interface ITextBoxShapeEx : ITextBoxShape, ITextBox, IShape, IParentApplication

    Properties

    TextLink

    Text of the comment.

    Declaration
    string TextLink { get; set; }
    Property Value
    Type
    System.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();
            }
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved