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

AcDbBlockTableRecord::getPreviewIcon

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
cmb_9999
834 Views, 2 Replies

AcDbBlockTableRecord::getPreviewIcon

How are the array of bytes returned by AcDbBlockTableRecord::getPreviewIcon() formatted? Are they just raw pixel data or do they contain a header that describes the dimensions of the icon as well? My goal is to create a bitmap from this byte array that can be displayed on a form.

 

Thanks in advance.

2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: cmb_9999

The bytes are a BITMAPINFO structure that includes the raw pixel data.

--
Owen Wengerd
ManuSoft
Message 3 of 3
cmb_9999
in reply to: owenwengerd

Thanks, Owen, that helped me immensely.

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

Post to forums  

Autodesk Design & Make Report

”Boost