-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[csv2img]: Customise colours and size of PDF #43
Comments
@infinitepower18 I linked 2 PRs which address this issue. Could you take a look at them and try it on your application? Sorry that I couldn't prepare well-documented codes but please update your codes base on the following sample codes. 🙏
let exportable = try await csv.generate(
fontSize: 12,
exportType: exportType,
style: .init(color: NSColor.systemPink.cgColor)
).base
await csv.update(
pdfMetadata: .init(
size: .a4,
orientation: .landscape
)
) |
you can try it on v1.8.0! |
absolutely! let me adress this later. 🙏 |
Hi, I released v1.8.1 that fixes above issue. please check it from your side as well when you have spare time. |
What is your new feature?
Hi, thanks for this package. I have tried it out with my app as it currently has a CSV export feature and also wanted to include the ability to export to PDF. This seems to do the job but have one request. Is it possible to customise the colours of the columns? I rather not have any colours and just a black font.
I am also looking for a way to customise the page size such as A4, letter rather than the size being just the table size.
It will be great if you can add these features. Thank you 🙂
The text was updated successfully, but these errors were encountered: