Skip to Content
avatar image
Former Member

Hi can some one help to set paper size dynamically in crystal report c#

Hi can some one help to set paper size dynamically in crystal report c#, i googled on this but still no idea, Also i found one post on this like below,

.....

Using RAS to print

CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument = docRelatorio.ReportClientDocument

CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts
= new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();


rasPROpts.PaperSize = ConvertToCrystalPaperSize(pagSett.PaperSize);

int iBins = pagSett.PrinterSettings.PaperSources.Count;

......

in the post i found the function "ConvertToCrystalPaperSize", if someone would help to use atleast this then i will finish my project... i new to programming, sorry for my english.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers