AnnAutoRotate example for Delphi

//This example enables automatic rotation of annotations,
//then rotates the bitmap 2222 hundredths of degrees to demonstrate the automation:
LEADAnn1.AnnAutoRotate:= True;
LEADAnn1.Rotate ( 2222, ROTATE_RESIZE, RGB(0, 0, 255));