Query:- For Pdf Document:- 1). fit in pdf page size or 2). Posibility of increasing pdf Page width so all rows are in single line on a single page.
We have already achieved this requirement fit all the columns in single page in our syncfusion Knowledge base document by using isAutoFit property as false.
Query#1:- For Word Document:
Similarly for Word export, we can fit all the columns in single page by defining the Orientation as LandScape and PageSize as A3. And While exporting, disable the AutoFit as false. Refer the below code example
WordDocument document = new WordDocument();
IWSection section = document.AddSection();
section.PageSetup.PageSize = PageSize.A3;
section.PageSetup.Orientation = PageOrientation.Landscape;
WordExport exp = new WordExport();
exp.Export(FlatGrid.Model, (IEnumerable)FlatGrid.DataSource, "Export.docx", false, false, "flat-lime", false, document, "Grid");
Please get back to us if you have further queries.