Free Support Forum - aspose.com

Table Height

Hi

we are trying to Table Height using row.RowFormat.Height.

But row.RowFormat.Height is always 0.

How can I get Table height if this always 0.

I am attaching the demo which shows that row.RowFormat.Height is always 0.

Please Help.

Hi

One more thing is how can I find out if Table is spread across 2 or 3 page.

that is I would like to get page break.But when I checked with Document Explorer demo(when table is in 3 page)it shows only one PageBreak.

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

Thanks for your request.

1. This occurs because HeightRule=Auto. So height of row is not stored in document, it is calculated on fly by MSWord. So you can get height of row.

2. Aspose.Words document represents content and formatting of a document, not its layout into lines and pages. This feature is called pagination and it is not released yet. Please see FAQ for more information.

Best regards.