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
400
UltraGridDocumentExporter grid layout
posted

Hi,

How do I can keep exacly the same grid layout (rows, columns width and height, Font, colors...) as my original grid display on my window form using UltraGridDocumentExporter and the Export(grid, Section) methode? Something likes the UtlraGridPrintDocument (grid.PrintPreview();) does with de layout.

With this code example my columns are smaller than the real grid:

Report _report = new Report();

ISection gridSection = _report.AddSection();

UltraGridDocumentExporter ugde = new UltraGridDocumentExporter();

ugde.Export(grid, gridSection);

_report.Publish("C:\\dev\\grid.pdf", FileFormat.PDF);

 Thanks for your help!

Gabriel