Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ITextBoxShapeEx

    Show / Hide Table of Contents

    Interface ITextBoxShapeEx

    This interface represents TextBox form control shape.

    Inherited Members
    ITextBox.HAlignment
    ITextBox.VAlignment
    ITextBox.TextRotation
    ITextBox.IsTextLocked
    ITextBox.RichText
    ITextBox.Text
    IShape.Remove()
    IShape.Scale(Int32, Int32)
    IShape.Height
    IShape.Id
    IShape.Left
    IShape.Name
    IShape.Top
    IShape.Width
    IShape.ShapeType
    IShape.IsShapeVisible
    IShape.AlternativeText
    IShape.IsMoveWithCell
    IShape.IsSizeWithCell
    IShape.Fill
    IShape.Line
    IShape.OnAction
    IShape.Shadow
    IShape.ThreeD
    IShape.ShapeRotation
    IShape.TextFrame
    IShape.Hyperlink
    IParentApplication.Application
    IParentApplication.Parent
    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 Description
    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 - 2023 Syncfusion Inc. All Rights Reserved