Jump to content

Thumbnail Preview from memory


cadprog

Recommended Posts

Hi,

 

I want to create a drawing in memory and then display it as preview, to show the user how the dwg would look. Is it possible?

 

Thanks

Link to comment
Share on other sites

One of the more oddly worded questions of the day. What do you mean "create a drawing in memory"?

Edited by ReMark
Link to comment
Share on other sites

I read a dwg in db using db.ReadDwg(,,,). do some insertion of blocks, then show it as preview. Can this be achieved?

Link to comment
Share on other sites

ReMark,

 

The links helped. But unfortunately, it does not do my work. I understand that any dwg that is not opened will not produce either a thumbnail or an image. Is there any other way please?

 

Thanks

Link to comment
Share on other sites

A WPF form could host a Canvas that could be programmatically drawn upon - recreating the drawings on the fly. Obviously, that can be labor/processor intensive. Depending on the expected complexity of the drawings, though, it may not be that bad.

Link to comment
Share on other sites

wow! that sounds great! could you help me please? How do I get the drawing created in side database to the canvase?

 

Thanks

Link to comment
Share on other sites

Beginner :)
That's unfortunate. Numerous hours of WPF study is required just to get to a point where a feasibility determination could be made.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...