mergeimagefieldeventargs-ag凯发旗舰厅



com.spire.doc.reporting
class mergeimagefieldeventargs

java.lang.object
  extended by com.spire.ms.system.eventargs
      extended by com.spire.doc.reporting.mergefieldeventargs
          extended by com.spire.doc.reporting.mergeimagefieldeventargs

public class mergeimagefieldeventargs
extends mergefieldeventargs

represents data during mergeimagefield event.


method summary
 java.awt.image.bufferedimage getimage()
          returns the image.
 byte[] getimagebytes()
          returns image bytes.
 java.lang.string getimagefilename()
          returns the image file name.
 java.awt.geom.dimension2d getpicturesize()
          gets the word picture size.
 boolean getskip()
          gets a value indicating whether this is skip.
 boolean getusetext()
          gets whether text should be used.
 void setimage(java.io.inputstream inputstream)
          sets the image.
 void setimage(java.lang.string filepath)
          sets the image.
 void setimagebytes(byte[] value)
          sets image bytes.
 void setimagefilename(java.lang.string value)
          sets the image file name.
 void setpicturesize(java.awt.geom.dimension2d value)
          sets the word picture size.
 void setskip(boolean value)
          sets a value indicating whether this is skip.
 
methods inherited from class com.spire.doc.reporting.mergefieldeventargs
getcharacterformat, getcurrentmergefield, getdocument, getfieldname, getfieldvalue, getrowindex, gettablename, gettext, iskeeptextformat, iskeeptextformat, settext
 
method detail

getusetext

public boolean getusetext()
gets whether text should be used.
returns:
using text or not

getimagefilename

public java.lang.string getimagefilename()
returns the image file name.
returns:
the image file name

setimagefilename

public void setimagefilename(java.lang.string value)
sets the image file name.
parameters:
value - the iamge file name

getimagebytes

public byte[] getimagebytes()
returns image bytes.
returns:
the image bytes

setimagebytes

public void setimagebytes(byte[] value)
sets image bytes.
parameters:
value - the image bytes

getimage

public java.awt.image.bufferedimage getimage()
returns the image.
returns:
bufferedimage

setimage

public void setimage(java.io.inputstream inputstream)
sets the image.
parameters:
inputstream - the image input stream

setimage

public void setimage(java.lang.string filepath)
sets the image.
parameters:
filepath - the image file path

getpicturesize

public java.awt.geom.dimension2d getpicturesize()
gets the word picture size.
returns:
the picture size

setpicturesize

public void setpicturesize(java.awt.geom.dimension2d value)
sets the word picture size.
parameters:
value - the picture size

getskip

public boolean getskip()
gets a value indicating whether this is skip.
returns:
true if skip; otherwise, false.

setskip

public void setskip(boolean value)
sets a value indicating whether this is skip.
parameters:
value - true if skip; otherwise, false.


网站地图