void function ( Element arg0 , ImageResource arg1 ) { applyImageResource ( arg0 , arg1 , "srini_string" , "srini_string" ) ; arg0 . getStyle ( ) . setHeight ( arg1 . getHeight ( ) , "srini_string" ) ; arg0 . getStyle ( ) . setWidth ( arg1 . getWidth ( ) , "srini_string" ) ; }
applies the image resource to the specified element . the image will be centered , and the height and width will be set to the height and width of the image . concode_field_sep PlaceHolder placeHolder concode_field_sep DivElement createImageElement