Posted 11 December 2017, 2:30 am EST
We Have an issue with printing a reporting services report via C1PdfDocumentSource (WPF) with a margin of Top 0cm and left margin 1cm. You would see the result I get in attacment1RSRapport.jpg. And a part of our code in the other attachment.
The problem seems to be that the page has an “unvissible border” that makes half of the first row disappear.
we want to avoid to set a margin on the report itself because that the report is beeing printing from other codes as well (via System.Drawing.Printing.PrintDocument).
I have tried to set margins via TopMargin-Property;
pds.PageSettings.TopMargin = New Unit(2.4, UnitTypeEnum.Cm)
I Have tried to set PageBorderless at the printerticket
Neihter does any effect.
Can I affect the margin on the printed result by code in some way Without changing the margin on the report?
Kind Regards
Kristoffer Kajler
Pengvin Affärssystem AB