Preview Control change size - sticonfig

Stimulsoft Reports.NET discussion
Post Reply
jing
Posts: 50
Joined: Fri Jan 26, 2007 12:47 am
Location: New Zealand

Preview Control change size - sticonfig

Post by jing »

Hi,

How do you change the size of the preview control via StiConfig?
So far, I have

Code: Select all

           Stimulsoft.Report.StiConfig.Load()
           Dim config As Stimulsoft.Report.Render.StiPreviewConfigService = TryCast(Stimulsoft.Report.StiConfig.Services.GetService(GetType(Stimulsoft.Report.Render.StiPreviewConfigService)), Stimulsoft.Report.Render.StiPreviewConfigService)

           config.OpenEnabled = Not RegKey.GetValue("LockReports", True)
            config.PageDesignEnabled = Not RegKey.GetValue("LockReports", True)
            config.PageDeleteEnabled = Not RegKey.GetValue("LockReports", True)
            config.PageNewEnabled = Not RegKey.GetValue("LockReports", True)
            config.SaveEnabled = Not RegKey.GetValue("LockReports", True)
            config.PageSizeEnabled = Not RegKey.GetValue("LockReports", True)
            config.ToolSelectEnabled = Not RegKey.GetValue("LockReports", True)
            config.ShowThumbsPanel = Not RegKey.GetValue("LockReports", True)

            Stimulsoft.Report.StiConfig.Save()


I can't find a method that will let me set the size of the controller ?


thanks
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Preview Control change size - sticonfig

Post by Vital »

StimulReport does not save size of StiPreviewControl to StiConfig.

Thank you.
Post Reply