Free Support Forum - aspose.com

Alternate tag not being recognised

hi,

I put alternate tags in the code below there is no reconnection of the tag on the slide in code but in the output these is a tag on the table and also the if that checks for the tableEx works when the if statement is out form the one that checks for the alternate tag… does any one have any idea why

foreach (ShapeEx shape in slide.Shapes)
{
// Select this shape’s configuration, based on name and slide number
// select related data from excel data for this shape
// write that data into this shape
List s = new List();
ShapeEx q = shape;

if(shape.AlternativeText.Equals(“Age&GenderTable”))
{

if (shape is TableEx)
{
WriteDatatoTable(shape, excelDataTable, sqlData, “5”);
}

}


i++;
}

Hi Jimmy,


Thanks for your interest in Aspose.Slides.

I like to share that you need to set the Alternative text for the shape in the description field when shape is selected in PowerPoint. Please visit this thread link for your kind reference. Please share the source presentation along with working sample with us if there is still an issue.

Many Thanks,