🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Martin Hepperle Sat, 26 Sep 1992 16:32
VB: Graphics output to metafile / clipboard ?
#198
Author: Martin Hepperle
Date: Sat, 26 Sep 1992 16:32
28 lines
1946 bytes
I am using VB as standalone as well as a front end to FORTRAN (yes really!)
programs. I am doing lots of graphics, usually writing a graphics
metafile of my own format which is interpreted later by a C-program
which allows me to export a WMF file or put a picture into the clipboard,
zoom in and out and more.

   What I a looking for is the possibility to create a metafile directly
from VB, using the standard grahics commands (e.g. Object.line (a,b)-(c,d)),
but all I can use to transfer graphics out from VB seems to be a Bitmap format.
   Is there a VBX control available which takes the same commands as the
standard picture control, but can write a metafile to disk or give me
a handle to it so that I can copy it to the clipboard ?

   It would be really easy to write such a control, if I had the source
to a picture control, just don't write to a memory DC, but to a metafile
DC.
   Maybe a future version of VB would happen to contain such a thing
(maybe an additional property of the picture control) ?

Martin.

      Martin J. Hepperle          MMMMMMMMMMMMH   HHH
     Universitaet Stuttgart       M   MMM   MMH   HHH
       Pfaffenwaldring 9          M   MMM   MMHHHHHHH
     D-7000 Stuttgart 80          M   MMM   MMH   HHH
 Germany, Europe, World, Universe M   MMM   MMH   HHH
     PLEASE USE THIS RETURN ADDRESS ONLY:
    martin@mecha2.verfahrenstechnik.uni-stuttgart.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads