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

Free Support Forum - aspose.com

Objects are very verbose

It seems like the objects required to build a document are very verbose. Are there any shortcut methods for assigning properties, such as we have in CSS?

For instance, I have code like this:
Dim cellFormat = builder.CellFormat
cellFormat.VerticalAlignment = CellVerticalAlignment.Bottom
cellFormat.LeftPadding = 10
cellFormat.RightPadding = 10
cellFormat.TopPadding = 2
cellFormat.BottomPadding = 2
cellFormat.Borders.LineStyle = LineStyle.None
For padding, and other similar properties, it would be nice to do something like this:
cellFormat.Padding(2, 10, 2, 10)
It would certainly cut down on the amount of code needed to build a document.
Hi Charles,

Thanks for your inquiry. We have logged your requirement in our issue tracking system. The ID of this issue is WORDSNET-15014. Our product team will further look into the details of this problem and we will keep you updated on the status of this issue. We apologize for any inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-15014) have been fixed in this Aspose.Words for .NET 17.5 update and this Aspose.Words for Java 17.5 update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.