>Cetin,
>
>Is there a list of available extensions that i can use ?
>
>thx
>
>Guillaume
I don't know. In help it says "The language-independent name of the graphic filter as it appears in the registry." I don't have a bit idea where in the registry is that and if that really supports all formats. To my surprise it's the most poorly documented one in Excel help (Excel and MSGraph help is same for charts except a few differences).
AFAIK at least JPG, GIF, PNG, TIF is supported. ie :
Define Class Exporter As CommandButton
Top =0
Left = 70
Caption = 'Export'
Procedure Click
local lcFormats, lnFormats, lcFileName
local array arrFormats[1]
lcFormats = 'TIF,GIF,PNG,JPG'
lcFileName = 'c:\Temp\myExport'
lnFormats = Alines(arrFormats,lcFormats,.T.,',')
For ix=1 To lnFormats
Thisform.myGraph.Object.Export(;
Forceext(lcFileName,arrFormats[ix]),arrFormats[ix])
Endfor
Endproc
Enddefine
Cetin