Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing and exporting from FoxCharts
Message
De
18/05/2009 14:04:53
 
 
À
18/05/2009 13:34:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01400209
Message ID:
01400450
Vues:
68
I have a foxcharts object on the screen. it is called foxCharts1.
I am building the chart and everything showing great.

Now, I added a button on the screen and added the code from the sample example as I posted above in the Click() event.
The sample topic in the FoxCharts help is "Send the chart image directly to the printer, using the GdiPlusX functions."
LOCAL loBmp as xfcBitmap
loBmp = Thisform.Foxcharts1.oBmp
loBmp.ToPrinter()
I am expecting the chart to print when I click on the command button having the code above. it is very simple code and straight forward.

I am not copying anything to the clipboard for this example. so the oBmp should be the chart I have on the screen, right? or I am doing something wrong or missing something.

By the way, I am able to copy to the clipboard and paste in a word document without a problem but that's not my question.

Mo



>Hi,
>
>Sory this is definitely not the complete code,
>
>1. how did you populate the oBMP?
>
>When you debug what is the content of oBMP?
>after you CopyToClip()
>what is the copy of your clipboard?
>
>regards,
>
>Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform