Skip to content
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

how to add svg barcode into workspace? #1133

Open
ibalaji777 opened this issue Oct 1, 2021 · 2 comments
Open

how to add svg barcode into workspace? #1133

ibalaji777 opened this issue Oct 1, 2021 · 2 comments

Comments

@ibalaji777
Copy link

i have doubt in adding a barcode into raphael js but i found jsbarcode with svg format but i don't how to add into raphael js workspace.

1.raphael js

var paper = Raphael('holder');
2.svg

var svg= document.createElement("svg");
JsBarcode(svg, "Hi world!");
how to add svg into raphael js?
@ibrierley
Copy link

I would look into Snap.svg rather than Raphael. A lot of code is very similar by same author and it can do svg imports etc.

@ibalaji777
Copy link
Author

@ibrierley
Thank you for suggest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants