Page 1 of 1

Export service: customize text

Posted: Fri May 24, 2013 1:36 pm
by Fabio Pagano
I export the pdf using export service:

Code: Select all

Dim service As New Stimulsoft.Report.Export.StiPdfExportService
service.Progress = Stimulsoft.Report.StiGuiOptions.GetProgressInformation(service.OwnerWindow, Stimulsoft.Base.StiGuiMode.Gdi)
service.Progress.Start(Stimulsoft.Base.Localization.StiLocalization.Get("Export", "ExportingReport"))
service.Progress.SetAllowClose(False)
service.ExportPdf(report, stream, exportSettings)
service.Progress.Close()
service.Progress = Nothing
I need to customize the title bar and the inner text (they correctly appear in Italian but I need to change the text), see attached screenshot (they are in red square).

Thank you.

Re: Export service: customize text

Posted: Mon May 27, 2013 10:13 am
by HighAley
Hello.
Fabio Pagano wrote:I need to customize the title bar and the inner text (they correctly appear in Italian but I need to change the text), see attached screenshot (they are in red square).
You could change the localization file.
You could find it in the Localization folder.

Thank you.

Re: Export service: customize text

Posted: Wed May 29, 2013 6:49 pm
by Fabio Pagano
If I change the localization file, I think that in the next update it may be covered by the new one. I was seeking to set the text by code, only for that specific call.

I've seen that in "service.Progress.Start" I can pass the parameter "Title", and it changes the title of the progress form, but I cannot change the text that appears above the progressbar. May be helpful to add another parameter in "service.Progress.Start", eg. "ProgressBarTitle".

Anyway, this is a request with very low priority.

Thank you.

Re: Export service: customize text

Posted: Fri May 31, 2013 1:26 pm
by HighAley
Hello.

Unfortunately, it's impossible to change this label in code.

Thank you.