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

C#) How to get bitmap IntPtr from RasterImage?

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
390 Views, 0 Replies

C#) How to get bitmap IntPtr from RasterImage?

Hi.

 

I tried to get Bitmap IntPtr by RasterImage but I failed.

 

RasterImageDef imageDef = trans.GetObject(myImage.ImageDefId, OpenMode.ForWrite) as RasterImageDef;

imageDef.ImageCopy(true);

imageDef.OpenImage(); 

 

imageDef.ImageCopy(true); Method result => IntPtr = 0

imageDef.OpenImage();  Method result => Error

 

How to get Intptr?

 

Thanks.

 

 

0 REPLIES 0

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report