Hello everyone,
anyone could help me about if it is possible write a title in a PDF document export ? And how ?
Thanks
best regards
Pablo
Matt,
thank you very much!!!. Your help was great for me! I could try it and it fixed my previous code.
Pablo,
Use the report.Publish() method to save your report after the grid has exported itself into your section. To get more famililar with how the Documents engine works, I suggest that you take a look at some of the samples that ship with NetAdvantage.
I'm not sure what you mean about themes in this context.
-Matt
a million of thanks. But a last question. How can I save it ? Or how can I see it? Because I used this method : export (Me.ultragrid1, filename) but if I use export (Me.ultragrod1, section) I don't know how can I see it.
Thank you one more time.
Where can I learn about this themes? How did you learn / read about this themes ?
The following code illustrates what I was talking about with creating a header in the section:
Report report = new Report();ISection section = report.AddSection();ISectionHeader header = section.AddHeader();header.Height = 30;header.AddText(0, 0).AddContent("Header Text");this.ultraGridDocumentExporter1.Export(this.ultraGrid1, section);
If you only want the header to appear on the first page, you can set the Repeat property of the header to false.
Hi Matt
sorry but I am a new user and I can't to do what you suggest me. I want type a title before export and that it appear in the first page (or in each) of PDF document.
Can you help me again?????
If you know and I you can, can you explain to me with an example in code?
Thank you again!!