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

Free Support Forum - aspose.com

Image properties

Received : 2007/12/04 10:45:14
Message : I need to get access to a property of an image. In Word, you can set the alternate text of an image. How would I access this property? This is needed to maintain backwards compatibility.

If it is not available, how could we get added?

This message was posted using Aspose.Live 2 Forum


Thanks for your inquiry. You can access to this property using Shape.AlternativeText. For exampel see the following code.

Document doc = new Document(@"267_105118_lowkie\in.doc");

NodeCollection collection = doc.GetChildNodes(NodeType.Shape, true);

foreach (Shape shape in collection)


shape.AlternativeText = "This is alternative text";



Also see the following link.


I hope that this will help you.

Best regards.