Default Save Location

Stimulsoft Reports.WPF discussion
Post Reply
aferguson
Posts: 7
Joined: Fri Nov 20, 2009 2:39 pm

Default Save Location

Post by aferguson »

When using the StiWpfViewerControl to view a report, you can save the output in a variety of formats. By default, it selects the user's documents folder for the save location. How would one change that default location to, say, the user's desktop? It is probably straightforward, but I cannot seem to find it.

Thanks.
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Default Save Location

Post by Brendan »

You can use the following Static Properties to change the default location when Saving or Exporting a report

Code: Select all

StiOptions.Viewer.Windows.ReportSaveLoadPath = @"C:\MyFolder";
StiOptions.Viewer.Windows.ExportSaveLoadPath = @"C:\MyFolder";
aferguson
Posts: 7
Joined: Fri Nov 20, 2009 2:39 pm

Default Save Location

Post by aferguson »

Thanks! I knew it would be something simple; I just didn't see it.
Post Reply