AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

Howto convert a metafile to a bitmap

The answer is unexpectedly simple ! Try following lines of code and enjoy them !

Create a new project , add a form then put a picture box and a command button into it . Add block of code into command button click event !

Private Sub Command1_Click()
'load meta picture file
    Picture1.Picture = LoadPicture("e:\tuan.wmf")

'save meta picture to bitmap file
    SavePicture Picture1.Image, "e:\tuan.bmp"
End Sub


Tip submitted by dangtuan

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/