|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Image
The Image interface provides access to images information
Note: To activate customized control of document images, the variable MANAGE_IMAGES must be set to 1 in the webi.properties file.
MANAGE_IMAGES=1
Example: Writing an images binary contents to an output stream.
byte[] binImage = null;
String strImageName = "imgName";
ServletOutputStream oStream = response.getOutputStream();
DocumentInstance myDoc = mySession.getDocumentFromStorageToken(strStorageToken);
Image imageObject = myDoc.getImage(strImageName);
binImage = imageObject.getBinaryContent();
oStream.write(binImage);
This example can be placed in a callback file to be set by ImageOption.
DocumentInstance.getImage(java.lang.String),
ImageOption| Method Summary | |
|---|---|
byte[] |
getBinaryContent()
Returns the binary image content. |
java.lang.String |
getName()
Returns the image name generated by the report engine. |
| Methods inherited from interface com.businessobjects.rebean.wi.BinaryView |
|---|
getContent, getContent, getContentLength, getContentType |
| Method Detail |
|---|
java.lang.String getName()
byte[] getBinaryContent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||