Lorsque j'ai créé CGContextCreateWithURl(url)
, cela a créé un contexte vide même si j'ai passé l'URL du fichier existant. Comment obtenir le contexte d'un fichier PDF existant?Dessin au format PDF existant
0
A
Répondre
0
De mon expérience, vous ne pouvez pas tirer en fait directement à un PDF existant:
- Convertir PDF à l'image
- Dessiner un nouveau contenu à cette image
- Convertir l'image jointe au format pdf
Pas le plus lisse, mais cela fonctionne.
0
L'URL n'est pas une entrée. C'est là que vous voulez que le contexte écrive le PDF résultant.
De la documentation:
url
A base URL Foundation qui spécifie où vous souhaitez placer le fichier PDF résultant.
Questions connexes
- 1. Placer l'image au format PDF
- 2. Incorporer les polices TrueType au format PDF existant
- 3. Suivi au format PDF
- 4. format rtf au pdf
- 5. Exporter du HTML au format PDF
- 6. javascript jsgantt au format PDF
- 7. page HTML au format PDF
- 8. Java Image au format PDF
- 9. itextsharp PostScript au format PDF
- 10. WPF: fluxdocument au format PDF
- 11. Ecriture HTML au format PDF
- 12. Export DataWindow au format PDF
- 13. Ghostscript Stamp Image au format PDF
- 14. écriture au format XML fichier existant
- 15. Exporter un document Word au format PDF en utilisant iTextSharp
- 16. ASP.NET MVC. Génération PDF Mettre l'image au format PDF
- 17. Exportation au format PDF avec l'image
- 18. Exportation de page ASP.Net au format pdf
- 19. Documentation au format md, pdf et html
- 20. Fonction d'interpolation au format PDF dans Mathematica
- 21. D3 capture d'écran au format PDF
- 22. Convertir l'image au format PDF en Android
- 23. images enregistrement au format PDF sharepoint
- 24. Exporter JasperReport au format PDF OutputStream?
- 25. Ajouter le texte au format PDF fpdf
- 26. High Charts exporter au format PDF
- 27. Graphiques/graphiques interactifs au format PDF
- 28. Exportation d'une page Web au format PDF
- 29. Conversion de Crystal au format PDF
- 30. Obtenez le Stringposition exacte au format PDF
Comment créez-vous votre variable 'url'? – Eimantas