Export service: customize text

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Export service: customize text

Post 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.
Attachments
Image3.jpg
Image3.jpg (21.37 KiB) Viewed 1531 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export service: customize text

Post 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.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Re: Export service: customize text

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export service: customize text

Post by HighAley »

Hello.

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

Thank you.
Post Reply