Remove Exporting Formats
Remove Exporting Formats
How should I remove the exporting formats which I have not required from preview window toolbar ?
Remove Exporting Formats
Please see the following topic:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=620
All that you need is add the following line:
Thank you.
http://forum.stimulsoft.com/Default.aspx?g=posts&t=620
All that you need is add the following line:
Code: Select all
btnExport.Visible = False
Remove Exporting Formats
No I dont want to remove exporting feature, just I want to remove some of the formats of the Eporting like Html,Exel, How should I do this?
Remove Exporting Formats
Please use the following code:
Thank you.
Code: Select all
Dim service As StiService
For Each service In StiConfig.Services.GetServices(GetType(StiExportService))
If (TypeOf service Is StiPdfExportService OrElse TypeOf service Is StiHtmlExportService) Then
service.ServiceEnabled = False
End If
Next
Remove Exporting Formats
Thank You.