iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
Is there a way to change the following during the pdf export -
a) Header Name of the Report.
b) Margin of the page to print.
c) Adding sub header to the Report.
d) Most importantly, adding borders (row lines) between records.
Please provide some code snippets.
Also, is it possible to show the width of the columns in the exported report exactly like the ones in the webgrid? Otherwise, the exported file looks very cluttered and non-readable.
Thanks
Udayan
Hi Udayan,
Unfortunately, our product doesn't support changes in exported pdf. Maybe if you want, I can put this as feature request and suggest this problem to our developer team. Look forward to hear any feedback from you so I can help you further.
Regards,Bernard
Actually you can change A and B.
To change the Header in the Webgrid_Export event add:
e.Table.Caption = String.Format("Requested Review List{0}{1}", ControlChars.CrLf, Me.searchCriteriaLabel.Text)
This will add a 2 line Header to the PDF.
To change the margins add this to the same event as above:
With e.ReportInfo ' Set up page .DynFonts = New DynARFonts(New System.Drawing.Font("Arial", 12), Nothing, New System.Drawing.Font("Arial", 8), Nothing, New System.Drawing.Font("Arial", 7), Nothing, Nothing, Nothing, Nothing) .DynPageOrientation = PageOrientation.Landscape ' Force page into landscape mode .DynMargins = New Margins() .DynMargins.Top = 0.25 .DynMargins.Left = 0.5 .DynMargins.Right = 0.5 .DynMargins.Bottom = 0.25 End With
With e.ReportInfo ' Set up page .DynFonts = New DynARFonts(New System.Drawing.Font("Arial", 12), Nothing, New System.Drawing.Font("Arial", 8), Nothing, New System.Drawing.Font("Arial", 7), Nothing, Nothing, Nothing, Nothing) .DynPageOrientation = PageOrientation.Landscape ' Force page into landscape mode .DynMargins = New Margins() .DynMargins.Top = 0.25 .DynMargins.Left = 0.5 .DynMargins.Right = 0.5 .DynMargins.Bottom = 0.25
End With
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname