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

Free Support Forum - aspose.com

How to get the cell�s horizontal alignment?

How to get the cell’s horizontal alignment?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

CellFormat has VerticalAlignment but doesn’t have HorizontalAlignment.

Regards

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Table cell cannot have horizontal alignment because it can contain few paragraphs each of which has different alignment. Therefore, you should use ParagraphFormat.Alignment. Please see Aspose.Words document object model form more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/object-model-basics.html

Best regards.