We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

GetPrintingPageBreaks() changes the size of objects on the sheet

Dear Aspose team,

The example attached
- creates workbook, worksheet, textbox.
- runs GetPrintingPageBreaks()
As a result the textbox size is changed (becomes invalid).

Multiple runs of GetPrintingPageBreaks() makes the textbox size bigger and bigger.
If textboxes are already on the opened sheet, their size is also changed.
I tried setting different properties to text boxes and ImageOrPrintOptions with no luck.

The problem was introduced in Cells 8.3.2.


Hi Alex,

Thank you for providing your demo application.

We have evaluated the presented scenario against the latest version of Aspose.Cells for .NET, and we are able to notice the mentioned behavior, that is; calling the Worksheet.GetPrintingPageBreaks method seems to increase the TextBox width. We have logged this incident in our bug tracking system under the ticket CELLSNET-43708 for further investigation. Please allow us some time to properly analyze the scenario. In the meanwhile, we will keep you posted with updates in this regard.


Thanks for using Aspose.Cells.

We are pleased to inform you that your issue is
fixed now. We will provide you the fixed version after performing QA and
incorporating other enhancements and fixes. Hopefully, we will share
the fixed version here in the next few days.

Keep in touch.


Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.5.0.2 and let us know your feedback.

It looks like the issue is fixed. Thanks. Waiting for the next Aspose release build.


Thanks for your feedback.

Good to know that your issue is sorted out now. Well, you may use this fix for production server, it will behave like an official release of the product. It has all the functionality (full fledged) of Aspose.Cells for .NET v8.5.0 till this fix. We normally provide quick fixes into support forums for the users. However, our next official release of the product i.e., Aspose.Cells for .NET v8.5.1 (which will also include the functionality of this fix) is scheduled to be released in the next couple of weeks.

Thank you.

Thank you, but we can’t really use that quick fix version.
It has some type changed. Like
public class ShapeCollection : CollectionBase
public class ShapeCollection : CollectionBase
and such changes break our code. I guess you sent .net 2 version. We use aspose for 3.5.


Thanks for providing us further details.

Regarding the version/fix compiled for .NET framework 3.5, the link shared earlier contains only the assembly compiled for .NET 2.0 that can be used with any version higher than or equal to .NET framework version 2.0. However, if you need the specific assembly then you have to wait a little (e.g one and half week or so) as we are scheduled to release our next official release of Aspose.Cells for .NET 8.5.1 for publication within the next couple of weeks. The said release will contain the specific DLL to be used with .NET framework 3.5 for your requirements.

Thank you.

The issues you have found earlier (filed as CELLSNET-43708) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.