Welcome to scryber.core discussions #32
Replies: 5 comments 20 replies
-
Hi, My name's Dave and I've been coding since the ZX81 spectrum days :-) I've also been hiking and climbing mountains for as long! I'm from Hertfordshire in the UK (so can't wait until lockdown is over and I can get back to Wales). I've been looking for a simple free PDF creation library recently, with a view to programatically creating some PDF's of mountain\trig point stats from a simple app I'm creating for my own use. Yours is awesome! I've created a Document and added a Section with contents (simple Div's and Tables) and successfully rendered it to a pdf file. I feel I must be missing something obvious but I can't work out how to add content to the Header or Footer (or ContinuationHeader \ ContinuationFooter) properties of a Section. The Section.Contents is a ComponentList I can add Div's and Table's to, but the header\footer properties are null and of type IPDFTemplate. I've tried to set Section.Header to various objects but can't find any that implement IPDFTemplate... I've also tried to add various objects to the Contents collection (like Head1, PDFPageHeader) - thinking that certain types of content added to the main collection may end up in the header or footer. Nothing I've tried so far works. I'm just trying to create a basic section header and a footer which repeats on all pages containing the page number. Any help would be much appreciated, Dave |
Beta Was this translation helpful? Give feedback.
-
Hi, Willem from sunny South Africa here. Started coding in primary school and never stop since. Currently part of a small startup. I've explored and used various tools and utilities for creating PDF's in core - most of them wrappers around wkhtmltopdf. Even built a library myself (itechoPdf) which did things a little faster and better than the others. And the library was generally working great in spite of many caveats and limitations. Generation time and large file size became a huge problem when I start generating 100+ pages. So, I searched for something more "native" or a more programatic approach to build PDF's - given that they are usually faster. And I found Scryber. Which I found to be brilliant. Got me a 200x performance increase and a 40x smaller file size! One thing missing before I can fully move to Scryber: vertical text. I had a quick read and looks like rotations / writing-mode is not implemented in the PDF spec? Keep up your good work. PS I will not be surprised if Scryber is found at the very top of the best C# PDF generation library list. Willem |
Beta Was this translation helpful? Give feedback.
-
Hi, my name is Tim and I live in Hungary not too far from Budapest. I'm an independent contractor currently working on a billing system, which means PDF invoices of course! Thank you for creating and releasing this library. Clearly a lot of thought, time and effort has gone into it and I agree with Willem that Scryber will be top of the list of best C# PDF generation libraries. If it's not a delicate subject, can I ask if there is a commercial side to this project? Tim |
Beta Was this translation helpful? Give feedback.
-
I want to add Slider in the PDF. Is it possible to add SVG Slider or Can i add Slider using Javascript? |
Beta Was this translation helpful? Give feedback.
-
Hi Richard, Thanks for this great repo. Regards |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with scryber.
Beta Was this translation helpful? Give feedback.
All reactions