Hello
How can i change the properties of the Report Viewer dot - matrix before the report is displayed:
Kill spaces lines = false "
Cut long lines = true "
"border type = single" ... etc
Thank you
Milton
Change properties of the Report Viewer dot - matrix before display
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Change properties of the Report Viewer dot - matrix before display
Hello,
You can use following code:
Thank you.
You can use following code:
Code: Select all
StiSettings.Load();
StiSettings.Set("Viewer", "groupBoxBorderType", false);
StiSettings.Set("Viewer", "groupBoxEncoding", false);
StiSettings.Set("Viewer", "groupBoxRefresh", false);
StiSettings.Set("Viewer", "groupBoxSettings", false);
StiSettings.Set("Viewer", "groupBoxZoom", false);
StiSettings.Set("Viewer", "CutLongLines", false);
StiSettings.Set("Viewer", "DrawBorder", false);
StiSettings.Set("Viewer", "KillSpaceLines", false);
StiSettings.Set("Viewer", "KillSpaceGraphLines", false);
StiSettings.Set("Viewer", "PutFeedPageCode", false);
StiSettings.Set("Viewer", "Simple", false);
StiSettings.Set("Viewer", "UnicodeSingle", false);
StiSettings.Set("Viewer", "UnicodeDouble", false);
StiSettings.Set("Viewer", "AutoRefresh", false);
StiSettings.Set("Viewer", "ZoomX", false);
StiSettings.Set("Viewer", "ZoomY", false);
StiSettings.Set("Viewer", "Encoding", 0);
StiSettings.Save();
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Change properties of the Report Viewer dot - matrix before display
Hello vital
i have made changes, but do not affect the viewer. There is something i this missing?....
i'am using the following code:
Private Sub Imprimir()
Dim report As New StiReport
Dim facturaDataset As New DataSet
report.Load(My.Application.Info.DirectoryPath & "\Reportes\Formatos\Boleta.mrt")
report.RegData(facturaDataset)
StiSettings.Load()
StiSettings.Set("Viewer", "KillSpaceLines", False)
StiSettings.Set("Viewer", "CutLongLines", True)
StiSettings.Set("Viewer", "Simple", True)
StiSettings.Save()
report.Render()
report.ShowDotMatrix()
End Sub
Thank you
Milton
i have made changes, but do not affect the viewer. There is something i this missing?....
i'am using the following code:
Private Sub Imprimir()
Dim report As New StiReport
Dim facturaDataset As New DataSet
report.Load(My.Application.Info.DirectoryPath & "\Reportes\Formatos\Boleta.mrt")
report.RegData(facturaDataset)
StiSettings.Load()
StiSettings.Set("Viewer", "KillSpaceLines", False)
StiSettings.Set("Viewer", "CutLongLines", True)
StiSettings.Set("Viewer", "Simple", True)
StiSettings.Save()
report.Render()
report.ShowDotMatrix()
End Sub
Thank you
Milton
Change properties of the Report Viewer dot - matrix before display
Hello, Milton.
Please download the following build:
Stimulsoft Reports.Net 2008.08.27 D2005:
http://www.stimulsoft.com/GetFile.aspx? ... _D2005.zip
The issue is fixed there.
Thank you.
Please download the following build:
Stimulsoft Reports.Net 2008.08.27 D2005:
http://www.stimulsoft.com/GetFile.aspx? ... _D2005.zip
The issue is fixed there.
Thank you.