Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSGraph Export
Message
From
06/11/2003 06:53:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/11/2003 05:13:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00846572
Message ID:
00846996
Views:
19
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform