Forum Discussion

Mustafa_A's avatar
Mustafa_A
Contributor II
3 years ago

How to fix page width within Books?

Hi All,

 

I'm in this sort of dilemma, where my book prints the report over 2 pages, while my CV pdf print on one page.

I'm wondering if there is a way to fit all on one page. 

 

Thanks

 

 

 

  • Mustafa_A's avatar
    Mustafa_A
    Contributor II

    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

     

     

    • johnal67's avatar
      johnal67
      Contributor

      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?