Cannot set textbox width

Aspose-TextBox-Width-Bug-Example.zip (9.9 KB)

Steps to reproduce: download and unzip the file above. Use it to instantiate a new Workbook object. Try the following code:

var textbox = workbook.Worksheets.Single().TextBoxes.Single(tb => tb.Name == “Textbox 1”);
textbox.Width = 437;
Assert.AreEqual(textbox.Width, 437);

The assertion fails-- the textbox’s width is still 410. Why? This is using Aspose.Cells for .NET v17.4.0.

@Justafool,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46775 - Textbox width cannot be set

@Justafool,
We have investigated the issue and observed that the current API does not support setting the width and height of the grouped shape. We are planning to provide this feature in our next version 19.7 (if possible because there are other high priority tasks in the queue). We will notify you here when an update will be available for sharing with you.

@Justafool,
This is to inform you that we have supported the feature (logged earlier as “CELLSNET-46775”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@Justafool,
Please try our latest version/fix: Aspose.Cells for .NET v19.6.5 (attached).

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells19.6.5 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.6.5 For .Net4.0.Zip (4.9 MB)

The issues you have found earlier (filed as CELLSNET-46775) have been fixed in Aspose.Cells for .NET v19.7. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi