Excel for .NET

XLTextBoxShape Style

  •  cm_prog said 1 year ago:

    Is it possible to apply a style (font/forecolor/backcolor/etc) to a XLTextBoxShape?

  •  cm_prog said 1 year ago:

    The more I look into the XLTextBoxShape, the more I have issues even using the class itself.

                    var lHeaderTextBox = new XLTextBoxShape(
                        "HELLO WORLD",
                        C1XLBook.PixelsToTwips( 60 ), C1XLBook.PixelsToTwips( 5 ),
                        C1XLBook.PixelsToTwips( 300 ), C1XLBook.PixelsToTwips( 75 ) );
    
                    this.mSheet.Shapes.Add( lHeaderTextBox );
    

    I’m not seeing a text box when I use this code.

  •  Reema40p said 12 months ago:

    Hello,

    It seems that you are currently using an old build of C1Excel.

    According to the development team, the XLTextBoxShape class has been removed from the C1Excel control from 2011v1 builds onwards. The reason was that it was having similar kind of problems in some scenarios and that was very difficult to support.

    Regards,
    Reema

    Answer
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.