We use Stimulsoft Reports 2010.3
Today we set specific paper sources whit this code:
Code: Select all
StiPrintProvider.SetPaperSource = false;
PaperSource paperSource = null;
foreach(StiPage currentPage in report.RenderedPages)
{
// here comes some code that evaluates the paperSource Object for the currentPage
currentPage.PaperSourceOfFirstPage = paperSource.SourceName;
currentPage.PaperSourceOfOtherPages = paperSource.SourceName;
}
Unfortunately the StiPage only provides PaperSize that takes a PaperKind enum.
The PaperSize Class provides a property RawKind, which takes the defined custom paper type.
Is it possible to set the PaperSize to the page so the correct PageSize object will be passed to the printer driver?
Thank you.
Andreas
I see