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

Free Support Forum - aspose.com

Tables Alternative Text

A word table -> properties gives an Alt Text ribbon where you can enter a Title and Description.

Is this available from with Aspose Words?


Hi Jan,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we had already logged this feature request as WORDSNET-5890 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

Hi,


Please notify me too whenever this feature is ready.
Hi there,

Thanks for your inquiry. Sure, we will update you via this forum thread once this feature is available. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

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

@JanUrbanski

We added Table.Title and Table.Description properties in Aspose.Words 18.6 to set the table’s title and description. You can find these properties of table in MS Word by selecting Table > Properties> Alt Text tab as shown in attached image. image.png (5.9 KB)

Following code example shows how to create table and set table’s title and description properties.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

Table table =  builder.StartTable();
builder.InsertCell();

// Set the cell formatting
CellFormat cellFormat = builder.CellFormat;
cellFormat.Width = 250;
cellFormat.LeftPadding = 30;
cellFormat.RightPadding = 30;
cellFormat.TopPadding = 30;
cellFormat.BottomPadding = 30;

builder.Write("Formatted cell");
builder.EndRow();
builder.EndTable();

table.Title = "Aspose table title";
table.Description = "Aspose table description";
doc.Save(MyDir + "out.docx");.