Hi
You should add it as a helper function to your code:
procedure TImageEnMViewHelper.AppendImage(Bitmap: TIEBitmap;
DefaultTopText: TIEImageEnMViewDefaultText = iedtNone;
DefaultInfoText: TIEImageEnMViewDefaultText = iedtNone;
DefaultBottomText: TIEImageEnMViewDefaultText = iedtNone);
begin
AppendImage( Bitmap );
ImageTopText[ Result ] := IEMDefaultTextToConst(DefaultTopText);
ImageInfoText[ Result ] := IEMDefaultTextToConst(DefaultInfoText);
ImageBottomText[ Result ] := IEMDefaultTextToConst(DefaultBottomText);
end;
Nigel
Xequte Software
www.imageen.com