protected void addBitmap ( final String name , final Bitmap bitmap , final String fileName ) { final BitmapBinaryData bdata = new BitmapBinaryData ( ) ; bdata . setName ( name ) ; bdata . setContentName ( fileName ) ; bdata . setBitmap ( bitmap ) ; result . addBinaryData ( bdata ) ; }
Setup binary content with the bitmap .