Hello,
We are using Version 24.1.4.
We are opening a MS dotx file and accessing tables in the dotx file using your rich edit library. The syntax looks like
RichEditDocumentServer server = new RichEditDocumentServer();
bool status = server.LoadDocument(fopenpath);
var doc = server.Document;
DevExpress.XtraRichEdit.API.Native.TableCollection tbls = doc.Tables;
foreach (DevExpress.XtraRichEdit.API.Native.Table t in tbls)
{
var title = t.Title;
}
That last line is giving an error. It says there is no definition for 'Title'. I tried Description and got the same error. Please see the first screen capture.
Your documentation talks about Title and Description fields, but they give the above error. It talks about them version 24.2. We are on version 24.1.4 don't want to upgrade now. That would be a significant impact. If the Title and Description were just added in 24.2 and are not present in 24.1.4, we could consider upgrading, But, if they were already in 24.1.4, we don't want to upgrade.
We have many tables in our dotx file. We would like to name them or tag them in MS Word. Then read that name in our C# code with DevExpress statements like above. That will tell us which table we have.
One way to name them in MS Word would be the Alt Text field for the table, like shown below in screen capture 2.
We would like to read that text value in the C# code. If there is another way to name them in MS Word that is available in C# using the DevExpress library, we can do that also.
Thank you.
David