Re: insert an Excel graph into a Richtextbox?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Karl E. Peterson" wrote in message
Peter T wrote:
"Karl E. Peterson" wrote in message

There is the CopyPicture method of the
Chart object, but that's trashing the clipboard again and only gives
you
a bitmap (albeit at up to printer resolution).

The CopyPicture method can also give a metafile (emf)

I didn't detect that, from the docs. <- go figure, huh?

snippet from Excel-VBA Help -

expression.CopyPicture(Appearance, Format, Size)

Format Optional Variant. The format of the picture. Can be one of the
following XlCopyPictureFormat constants: xlPicture or xlBitmap. The default
value is xlPicture [ie metafile].

Also there's loads about it in that PastePicture thing you helped write :-)
(link in my first reply to you in this thread)

Regards,
Peter T


.



Relevant Pages

  • Re: Cutlines im Report
    ... Vektordaten - aber nicht die von VFP erzeugten.< ... Aus der Microsoft EMF Specification ... This is a specification of the Enhanced Metafile Format structure, ...
    (microsoft.public.de.fox)
  • Re: Question for PC EQ6 users?
    ... save them in any format you want. ... If I remember right EQ6 ... In EQ6, you can export a metafile for a block, but not a ... have so many applique designs in EQ5 I have little incentive ...
    (rec.crafts.textiles.quilting)
  • Re: export Simulink models
    ... file with a preview in the tiff format. ... It produces a vectorial image, ... Be careful to paste as metafile and not as bitmap ("paste ... If you paste as bitmap or into programs not supporting vectorial ...
    (comp.soft-sys.matlab)
  • Re: Save As Picture File Formats
    ... > any advice on choosing the correct file format for various needs. ... > try to Save As a WMF, and inserted the .wmf file into a Word ... WMF is the Windows MetaFile format. ...
    (microsoft.public.publisher)
  • Re: Can one create WMF files with preset horiz and vert resolution
    ... variety of image formats for the image placed on the clipboard. ... The application may choose to render as a metafile or convert to some other ... Microsoft's Office products use their own internal format. ...
    (microsoft.public.win32.programmer.gdi)