AnnPredefinedBitmap example for C++ Builder

//This example does the following:
//1. Gets the current point bitmap
//2. Inverts it
//3. Sets the inverted bitmap as the default point bitmap
void TForm1:: ExampleAnnPredefinedBitmap ( HANNOBJECT hObject )
{
   LEADAnn2->Bitmap= LEADAnn1->AnnPredefinedBitmap [ANNBITMAP_POINT];
   LEADAnn2->Invert ( );
   LEADAnn1->AnnPredefinedBitmap [ANNBITMAP_POINT]= LEADAnn2->Bitmap;
}