ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.NET equivalent of acdbDisplayPreviewFromDwg()?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
198 Views, 2 Replies

.NET equivalent of acdbDisplayPreviewFromDwg()?

I can't seem to find any .NET equivalent of acdbDisplayPreviewFromDwg()
anywhere. Does it exist? If so, could somebody point me in the right
direction?

Thanks for any help you guys can offer,

James Stergar
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Don't always assume that functionality exposed via the
managed wrappers is exposed in the same way that it
is in 'native' ObjectARX.

public Bitmap Autodesk.AutoCAD.DatabaseServices.Database.ThumbnailBitmap

Of course, this is not a counterpart for the function you
mention, and that's probably a good thing, since you really
should not have to use it (it's a kludge at best).

The sounder way to deal with thumbnail previews is to get
the bitmap, so you can cache it and not have to call
acdbDisplayPreviewFromDwg() from a paint handler or
update event that fires frequently.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"James Stergar" wrote in message news:4832551@discussion.autodesk.com...
I can't seem to find any .NET equivalent of acdbDisplayPreviewFromDwg()
anywhere. Does it exist? If so, could somebody point me in the right
direction?

Thanks for any help you guys can offer,

James Stergar
Message 3 of 3
Anonymous
in reply to: Anonymous

Dear sir,
As you told to use Database.ThumbnailBitmap, but it is not working, i think it is not implemented. Can you suggest anohter way.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost