mje Posted February 27, 2012 Report Share Posted February 27, 2012 I'm working with 2D pictures and trying to keep everything vector based since my images can get quite large. Am I missing something or is the only way to deal with EMFs to use a dummy picture control for operations? For example, this bit of code copies an EMF to the clipboard by rendering the picture to a local control, resizing to fit the bounds of the picture, and then invoking the export method. The bitmap based methods have VIs to handle the conversion, but are we out of luck if we want to deal with EMFs? Quote Link to comment
GregR Posted February 28, 2012 Report Share Posted February 28, 2012 EMFs are produced by setting up drawing to target an EMF then calling our rendering code. Currently our rendering code is only accessible from the picture control itself. The result is as you have found, the only way to get an EMF from a picture string is to use a control. There is no purely programmatic way to invoke the code required. 1 Quote Link to comment
mje Posted February 28, 2012 Author Report Share Posted February 28, 2012 That's good to know. Thanks for the confirmation, Greg. -m Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.