Skip to Content
0
Former Member
Feb 22, 2011 at 08:07 AM

get the last page number

107 Views

Hello,

i want to print the first page from a different paper source using the RAS API (ISCDReportClientDocument)

Dim options As New CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions

...

options.AddPrinterPageRange(1, 1)

m_RasDoc.PrintOutputController.PrintReport(options)

and the other pages from an other papersource

options.AddPrinterPageRange(2, last_page)

m_RasDoc.PrintOutputController.PrintReport(options)

problem: How can I determin the last_page?