Search found 1278 matches

by Vital
Mon Jun 19, 2006 3:25 am
Forum: Stimulsoft Reports.NET
Topic: Custom Component
Replies: 7
Views: 4149

Custom Component

Try to change this code: Barcodes.DataMatrix.DataMatrixControl MyBarcode = new Barcodes.DataMatrix.DataMatrixControl(); MyBarcode.DrawMatrixToSize(rect.Left, rect.Top, rect.Width, rect.Height, Barcodes.DataMatrix.Dimensions.dmPixels, g); to this code: using (Bitmap bmp = new Bitmap((int)rect.Width,...
by Vital
Sun Jun 18, 2006 5:20 pm
Forum: Stimulsoft Reports.NET
Topic: Custom Component
Replies: 7
Views: 4149

Custom Component

Hi Team from Stimulsoft, I am using a third party component to creat a custom component im the Report Deisner, like in the custom compnent example. I am writing to a graphics object and set the object to e.Graphics in the Pain event (like in the example) In the the designer and in the Preview it wo...
by Vital
Sun Jun 18, 2006 5:10 am
Forum: Stimulsoft Reports.NET
Topic: Buttons in Preview
Replies: 2
Views: 1974

Buttons in Preview

By default Preview Window have many buttons. It possible to hide some buttons? Thanks. At starting of your application use this code: StiOptions.Load(); StiOptions.Preview.Window.ShowToolbar = false; StiOptions.Preview.Window.ShowPageViewMode = false; StiOptions.Preview.Window.ShowVertScrollBar = f...
by Vital
Sun Jun 18, 2006 5:08 am
Forum: Stimulsoft Reports.NET
Topic: Saving/loading ready report to database
Replies: 5
Views: 3515

Saving/loading ready report to database

Can i pack all saved reports? We have many reports and it takes many resources. In version 1.60 of StimulReport.Net you can use this methods of StiReport: Saving rendered report: void SavePackedDocument(Stream stream) string SavePackedDocumentToString() byte[] SavePackedDocumentToByteArray() void S...
by Vital
Fri Jun 16, 2006 7:51 am
Forum: Stimulsoft Reports.NET
Topic: Export to PDF
Replies: 3
Views: 2444

Export to PDF

Starting with version 1.60 you can use this code:

Code: Select all

StiReport report = new StiReport();
report.Load("report.mrt");
report.Render();

report.Export(StiExportFormat.Pdf, "document.pdf");
by Vital
Thu Jun 15, 2006 4:33 am
Forum: Stimulsoft Reports.NET
Topic: Embed Reports as Resources
Replies: 2
Views: 2652

Embed Reports as Resources

I have entered this project after much of the work was done on the reports. I love them btw, and the support from stimulsoft is great. What I'd like to know though is whether anyone has embedded the reports as a resource in visual studio. Although our solution allows them to upgrade asynchronously,...
by Vital
Tue Jun 13, 2006 2:45 pm
Forum: Stimulsoft Reports.NET
Topic: Designer functionality
Replies: 4
Views: 3214

Designer functionality

Alex wrote: How i can hide Event tab in properties panel?

Thanks.
Use following code:

StiConfig.Load();

StiOptions.Designer.ShowEventsTab = false;

StiConfig.Save();

by Vital
Tue Jun 13, 2006 2:37 pm
Forum: Stimulsoft Reports.NET
Topic: Bind custom entities from another assembly
Replies: 2
Views: 2681

Bind custom entities from another assembly


Open report properties in panel "Properties" (you can do it with ComboBox placed at top of properties panel).
Find property "Referenced Assemblies". Add to list of assemblies your assembly name.