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

How to Get A Block's Preview Image?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
viper_007
1619 Views, 2 Replies

How to Get A Block's Preview Image?

When we define or insert a block, there's always a preview image of the block showing on the form.

I'm not sure if there're any interfaces to get the preview image and add it to my imagelist control.

Looking forward to your answer, thank you!

聚傲气于一身,显傲骨之精华
2 REPLIES 2
Message 2 of 3
Jeff_M
in reply to: viper_007

The BlockTableRecord (Block Definition) has the 2 properties: HasPreviewIcon which you can check for True, then if true, use the PreviewIcon property to get the BMP.
Jeff_M, also a frequent Swamper
EESignature
Message 3 of 3
viper_007
in reply to: Jeff_M

Thank you!
AutoCAD developer help seems not very friendly. It takes lots of time, but I still cannot refer to what I want to know.
聚傲气于一身,显傲骨之精华

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report