FastDraw icon indicating copy to clipboard operation
FastDraw copied to clipboard

Export to pdf

Open miguel-arrf opened this issue 3 years ago • 3 comments

Hi!

I'm trying to make an export to PDF but I can't figure out how to do it. Can you provide an example?

Thank you.

miguel-arrf avatar Dec 04 '21 17:12 miguel-arrf

Thanks for supporting FastDraw! I have updated the library for an improved export API Now you can call drawPDF(url:_) method of DrawBoardView object to render the PDF to the url Please run pod install to update the library

collinzrj avatar Dec 04 '21 19:12 collinzrj

I have also updated README, you can also check FastDrawDemo for example https://github.com/collinzrj/FastDraw/blob/6bb81e811550baba28785519f84562f81bf7b13b/FastDrawDemo/FastDrawDemo/ViewController.swift#L65-L70

collinzrj avatar Dec 04 '21 19:12 collinzrj

Hi @miguel-arrf , has this solved your problem?

collinzrj avatar Dec 10 '21 15:12 collinzrj