Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1495
Export to PDF - PageSizes.Legal
posted

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