Found the solution:
I used Cube View Extender to format the pdf report. (Page 340 in XF OS manual).
Here is my code:
Try Select Case args.FunctionType Case Is = CVExtenderFunctionType.FormatReportUIItem Dim uiItem As CVExtenderReportUIItem = args.Report.CurrentUIItem If uiItem.UIItemType =XFReportUIItemType.DataCellLabel Then uiItem.FontSize = 9.5 ' UiItem.Bold = True Else If uiItem.UIItemType = XFReportUIItemType.RowHeaderLabel Then uiItem.FontSize = 9.5 End If End Select
I'm trying to make a report fit to page like your original issue, but it doesn't look like that code is doing anything to make it fit to one page. Maybe I just don't understand, but is that what the code is doing?