ABCPDF :Generer des fichiers PDF par ASP a la volee

Voici un exemple de fonctionnement :

Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.FontSize = 96
theDoc.AddText "bonjour"
theDoc.Save "c:\mypdfs\simple.pdf"


Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.AddGrid
theDoc.Color = "255 0 0"
theDoc.Width = 10
theDoc.Rect.Position 100, 200
theDoc.Rect.Width = 400
theDoc.Rect.Height = 500
theDoc.FrameRect
theDoc.Save "c:\mypdfs\coordinates.pdf"

 




Commentaires

Pas de commentaire

Laissez un commentaire

Commenting is restricted to registered users only. Please register or login now to submit a comment.