I want to generate the images for the blocks, I found a method of blcitablerecord, but the image is too small, and can not show out clearly.
Bitmap preview = btr.PreviewIcon;
you know in autocad there is a MSLIDE command, can make a .sld file which can show out clearly in a lisp programe, but in .net winform how to show the image clearly? or other method to solve it?
Solved! Go to Solution.
thank you for your information. I tried Kean's code, but get a error, can not found the method 'CMLContentSearchPreviews'.
by the way, what's the new screen grab tool you use?
can any body help me?
I can not found the method of 'CMLContentSearchPreviews' in autocad2013 Autodesk.AutoCAD.Windows.Data namespace.
the following is kean's blog address.
Looks like that Class was added to the 2014 product, so you won't see it in 2013.
do you know autocad2014 match what VS and framework .net version?
it seem's .net 4.0 can not import 2014 version acmgd.dll for me.
I'm using VS 2013 now, but i don't remember problems with Autocad 2014 and .net 4.0 in VS 2010, are you sure you have the right SDK , reference from the include folder and set copy to local false?
Access a broad range of knowledge to help get the most out of your products and services.