Hi,
1. Its posible to add something like a footer after the section where the UltraGrid was exported?.
I used BeginExport() to add something like a Header, but i thought in EndExport() i can do the footer but the args doesnt show a Section or something like that.
2. And if is posible to export 2 UltraGrid in one UltraGridDocumentExporter ?
BestRegards.
The Exporting sample in the WinGrid Samples Explorer (which installs with the NetAdvantage SDK) has a sample that shows how to export text before and / or after the grid.
Lois,
You could either try exporting each grid to a different section, or try the AddPageBreak method on the section itself after exporting the first grid.
-Matt
Thanks for the answer !!!, just one more little thing, how i can do to jump to the next Page in the .pdf or report during the creation of sections. For example, An UltraGrid can use 1 or more pages after it there will be a footer, and if the page is complete or not i want the next section or grid starts in the next Page, is that posible?
Lois
1) There are overloads of the Export method of the document exporter that allow you to provide either an ISection or a Report object, so you could certainly create your own section and add your own footer after the exporting logic has been completed.
2) This is also possible, since the overloads to the Export method take the grid that you'll be exporting. You could even export them to the same section (via same logic in answer above), assuming that the grids are approximately the same page size (basically that the second grid doesn't cause the first grid to become clipped, since the exporter will adjust the page size, if necessary).