tags:

views:

9

answers:

0

Hi,

How can we retrieve headings or chapter names from the xps document in WPF using C#?

We can get the TextSelection from the xps document from the below code.

Type t = docViewer.GetType(); PropertyInfo inf = t.GetProperty("TextSelection", BindingFlags.Instance | BindingFlags.NonPublic);

But, Is there any way or properties like fontsize through which we can retrieve. Please help.

Thanks,