Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to create a bitmap by duplication

The following example code shows the creation of a bitmap by the duplication of another bitmap.

// create bitmap 3 as a duplicate of bitmap 2
iBitmap3 = new (ELeave) CFbsBitmap();
User::LeaveIfError(iBitmap3->Duplicate(iBitmap2->Handle()));


Note