Information générale
Catégorie:
COM/DCOM et OLE Automation
>I am using Foxpro 7 to create and print graphs in Excel 2002. It works great (actually I think it is rather incredible), but I need to print the graphs as PDFs to a file with the file name being automatically passed through the PrintOut method. I don't know how to pass the OutputFileName and PrintToFile as parameters. Any help with this or automatically sending Excel graphs as pdf files would be appreciated.
The syntax of PrintOut method is:
expression.PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName)
So it should be like this:
WorkSheet.PrintOut( , , , , "PDF_Printer", .T., , "OutputFileName")
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement