public interface IImage extends IReportPart
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CUSTOM_IMAGE |
static int |
DESIGN_IMAGE |
static int |
FILE_IMAGE |
static int |
INVALID_IMAGE |
static int |
REPORTDOC_IMAGE |
static int |
URL_IMAGE |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getExtension()
return the image postfix, such as jpg, png
|
java.lang.String |
getID()
returns an identifier for the image
|
byte[] |
getImageData()
returns binary image data.
|
java.lang.String |
getImageMap()
The image map is used in HTML output.
|
ImageSize |
getImageSize() |
java.io.InputStream |
getImageStream()
returns an input stream where the mage can be read
|
java.lang.String |
getMimeType() |
int |
getSource()
returns the source type of the image.
|
void |
writeImage(java.io.File dest)
write the image to a destination file
|
getRenderOption, getReportRunnablestatic final int DESIGN_IMAGE
static final int REPORTDOC_IMAGE
static final int URL_IMAGE
static final int FILE_IMAGE
static final int CUSTOM_IMAGE
static final int INVALID_IMAGE
java.lang.String getID()
int getSource()
byte[] getImageData()
throws java.lang.OutOfMemoryError
java.lang.OutOfMemoryErrorjava.io.InputStream getImageStream()
void writeImage(java.io.File dest)
throws java.io.IOException
dest - destination file to write the image tojava.io.IOExceptionjava.lang.String getExtension()
java.lang.String getMimeType()
java.lang.String getImageMap()
ImageSize getImageSize()
Copyright © 2008 Actuate Corp. All rights reserved.