I'm setting my target paper size to pagesizes.legal but it's not doing it so it's chopping off columns but if it built it in legal it would not chop off those columns.
With dExporter .DownloadName = strFullReportName .Format = Infragistics.Documents.Reports.Report.FileFormat.PDF .EnableStylesExport = True .DataExportMode = DataExportMode.AllDataInDataSource .TargetPaperOrientation = Infragistics.Documents.Reports.Report.PageOrientation.Landscape .Margins = PageMargins.Narrow .TargetPaperSize = PageSizes.Legal .Export(gridAsset, r, s1) End With
Hello lrri,
I have received your post and am looking into your inquiry. I will have an update for you on this, on or before Monday.
Thanks!
From your settings I am not seeing anything of note that looks off or missing. I did a test on my side and find that the grid exports to legal size. For assurance, my settings are as follows:
<ig:WebDocumentExporter ID="WebDocumentExporter1" runat="server"
DataExportMode="AllDataInDataSource" DownloadName="ExportTest"
TargetPaperOrientation="Landscape" TargetPaperSize="Legal">
</ig:WebDocumentExporter>
Let me know if there are any differences from yours.
I attached my full sample for your reference.