Use of xrTableOfContents

Asked

Viewed 65 times

2

In my application, I have 3 different files from XtraReport. That is, practically Gero 3 reports and put together all in one PDF. In the first XtraReport, have the component xrTableOfContents1 which serves as an index. To add something to it, I just need to set the property Bookmark of another component, which will appear its title and page. When it is a component that belongs to it XtraReport works, but when it’s another XtraReport does not work. How can I solve this problem?

I set the property as follows in Runtime:

Titulo.Bookmark = titulo;

But the Titulo does not belong to the same XtraReport of xrTableOfContents1...

Issue 1: Maybe this example on Github help me, but when I try to implode it, I get this error.

Issue 2: As I haven’t made progress with the previous idea, I’m trying to generate the index of another way, storing the page number of each element in an array to then generate the index in an Xrtable.

Issue 3: I was able to solve the problem with the idea mentioned in Issue 2, but if you could find Bookmark it would be better...

  • What do you mean, generate the 3 in a pdf? You’re using subreport?

  • I create 3 Xtrareport files and combine the 3 into one: report1.Pages.Addrange(report2.Pages);

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.