Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GDIPlusX and Printing
Message
From
20/04/2007 11:28:45
 
 
To
20/04/2007 10:26:28
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01210581
Message ID:
01218316
Views:
35
>I saw in GdiPlusX samples that ImgCanvas via rightclick menu
>implemented can save content of canvas to bmp file on disk.
>One of options is TIF format.

That was done using Bindevents, you can check the code in DEMO.PRG


>Can we do multipage tif ?
>I can feel you answer comming as usually 'yes'

If you knew the answer was YES, why did you ask ? :-)))


>but still want your response, as it might include
>usefull sample of doing it :))

I wrote some articles for UT on this subject:

1 - Multiframe Images with GDI+
http://www.utmag.com/ViewPageArticle.aspx?Session=41357542475632344B52553D20644B68467A5872414C616A2B686D636B6566725162413D3D

This uses the classes from _gdiplus.vcx, that came with VFP9.
To create mutiframa pages, I had to create a subclass of GpImage, to deal with some functions that were not in the original classes.


But the best option is

2 - Using TIFFs with the new GDI+ classes
http://www.utmag.com/ViewPageArticle.aspx?Session=3936596246425455586E553D2039532F4842342F506944764F42615A5334694F537A773D3D

This article is much more complete, and uses the GdiPlusX library, that is the best option to deal with GDI+


Please open a new thread when you have different questions from different subjects for the next time, ok ?

Hope this helps

Cesar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform