aries_crg Level: Trainee
 Registered: 04-08-2005 Posts: 1
|
How to add customized papersize into crystal report setting
i've some problems when using a customized paper sized in crystal report. i use C#.net for developing the report.
i've to create a report for Invoice. the size is 8.5x5.5 inch
i've created new custom paper in control panel (named EEAInvoice) and already used it in report designer. the problem is : when i run the application, the invoice displayed in monitor is still Letter size. Even i've change all the paper size into EEAInvoice in all printer setting (from control panel)
actually, before i call the report there are some codes :
public virtual CrystalDecisions.Shared.PaperSize PaperSize
{
get {
return CrystalDecisions.Shared.PaperSize.DefaultPaperSize;
//how to add the EEAInvoice papersized into CrystalDecisions.Shared.PaperSize??
}
}
public virtual CrystalDecisions.Shared.PaperOrientation PaperOrientation
{
get {
return CrystalDecisions.Shared.PaperOrientation.Portrait;
}
}
please help me cause i've only several days for finishing this task. (or you can email me to aries_crg@hotmail.com)
thanks
aries
|