Object to show the current drawing in a form

Discussion in 'AutoCAD' started by per schelfhorst, Sep 15, 2003.

  1. Hello,
    i am looking for an object to show a part of the current drawing in a
    form.
    Something like the acpreview, but not for a saved drawing but for the
    current (loaded)drawing???

    Lots of thanks,

    Per Schelfhorst
     
    per schelfhorst, Sep 15, 2003
    #1
  2. per schelfhorst

    10west Guest

    use send command to copyclip of a current set of selected entities. This will put a bitmap on the clipboard then
    form1.Picture = Clipboard.GetData
    Picture1.Picture = Clipboard.GetData

    etc.
    fpath = "c:\yourPath\filename.bmp"
    then save it
    SavePicture Picture1.Picture, fpath
     
    10west, Sep 17, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.