on 08-29-2013 1:35 PM
Dear Experts ,
I am using following query to export my report in to pdf .
rpt.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, False, "Quotation") ... I need to suppress line if page number > 1 . For ex if total pagecount is 3 , in first page alone I need to display line object .
If I generate report in RPT format then I can easily achieve this by following query
Dim currentpagenumber As String = BL.ViewInfo.PageNumber.ToString
Dim nPages As Integer = rpt.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext)
rpt.ReportDefinition.ReportObjects.Item(i). obj.ObjectFormat.EnableSuppress = True ,
But same thing is not working when generate from PDF ,
Is it possible to suppress line in pdf if pagenumber > 1.
Much easier if you do this using a suppression formula in the Designer. So I moved your post to the Design forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.