Hi Vigneshkumar,
thanks for your help, but that doesn't work.
If I set your suggested option:
DataGridPdfExportOption exportOption = new DataGridPdfExportOption
{
FitAllColumnsInOnePage = false,
PdfDocument = pdfDoc,
StartPoint = new PointF(0, currentYPos),
ApplyGridStyle = true,
AutoFitRowHeight = true,
RepeatHeaders = true,
ExportColumnWidth = true
};
the columns are exported with their original width, but then the grid doesn't fit on the page!
If I set FitAllColumnsInOnePage = true and ExportColumnWidth = true
the exportcolumnwidth option is ignored.
I want either that all columns are fit to the page with their original width relation or I want to set one specific column to a certain size only for the export.
Is this possible?
Thanks
Michael