how to create bitmap?

 
 
 
Posted by:SITT
Data created:5 May 2010

IBitmap pBmp = null;
IBitmapInfo pBmpInfo = null;
           
pBmpInfo.SetType(7);
pBmpInfo.SetWidth(300);
pBmpInfo.SetHeight(500);
pBmpInfo.SetFlags(1);
pBmpInfo.SetCustomFlag(0);
pBmp = MaxGlobal.TheManager.Create(pBmpInfo);

 

my code can not execute

You need to intialize pBmpInfo like this:

IBitmapInfo pBmpInfo = global.BitmapInfo.Create();

All references need to be initialized using a 'Create' method.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

very thank you

No problem :)

Marsel Khadiyev (Software Developer, EPHERE Inc.)