on 09-11-2014 2:16 AM
Hi, all,
is it possible to locate a section (CrystalDecisions.ReportAppServer.ReportDefModel.Section) in a reportk you and set its maximum height?
When I find a detail section in question like so section = reportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[counter];
it just gives me the height of one row.
Is there a way to set a maximum size of it?
Thank you!
Hi Jelena,
see the below sample to add a new section to the report.
http://scn.sap.com/docs/DOC-6025
in the sample, see below code how the section properties are set.
//Set the properties for the section
boSection.Kind = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindDetail;
boSection.Name = "Detail2";
boSection.Height = 1000;
boSection.Width = 11520;
Refer to above sample and write your own code to identify the section and then set the properties.
Othe RAS SDk samples are here.
http://scn.sap.com/docs/DOC-28646
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.