public interface IMSTPage
Modifier and Type | Field and Description |
---|---|
static int |
BitCount |
static float |
Height |
static int |
pageNo |
static ResizeQuality |
QuailtyFactor |
static Rotate |
Rotation |
static double |
Scale |
static float |
Width |
static float |
XResolution |
static float |
YResolution |
Modifier and Type | Method and Description |
---|---|
boolean |
Draw(java.awt.Graphics g,
java.awt.Component a)
Draws the image on the given graphics object.
|
IMSTLetters |
ExtractText()
Returns the object of class MSTLetter for searching the string .
|
java.awt.Rectangle[] |
Find(java.lang.String Text,
boolean MatchCase)
Returns the array of the rectangles for the given text that is to be searched.
|
int |
get_BitCount()
Returns the bit depth of the image.
|
float |
get_Height()
Retuens the height of the image.
|
int |
get_pageNo()
Return the page no.
|
ResizeQuality |
get_QualityFactor() |
Rotate |
get_Rotation()
Returns the rotation of the image.
|
double |
get_Scale()
return the scale of the image.
|
float |
get_Width()
Returns the width of the image.
|
float |
get_XResolution()
Gets the X-resolution.
|
float |
get_YResolution()
Sets the Y-resolution.
|
java.awt.image.BufferedImage |
GetPageImage()
Return the bufferedImage of specified page.
|
java.io.InputStream |
GetPageStream()
Return the inputstream of specified page.
|
void |
set_BitCount(int bitCount)
set the bit depth of the image.
|
void |
set_Height(float height)
Sets the height of the image.
|
void |
set_pageNo(int pageNo)
Sets the page no.
|
void |
set_QualityFactor(ResizeQuality qualityFactor) |
void |
set_Rotation(Rotate rotation)
Sets the rotation value of the image.
|
void |
set_Scale(double d)
set the scale of image.
|
void |
set_Width(float width)
Sets the width of the image.
|
void |
set_XResolution(float resolution)
Sets the X-resolution.
|
void |
set_YResolution(float resolution)
Sets the Y-resolution.
|
boolean |
SetPageImage(java.awt.image.BufferedImage image)
sets the bufferedImage of specified page.
|
boolean |
SetPageStream(java.io.InputStream stream)
set the inputstream of specified page.
|
static final int pageNo
static final double Scale
static final Rotate Rotation
static final ResizeQuality QuailtyFactor
static final float Height
static final float Width
static final int BitCount
static final float XResolution
static final float YResolution
java.awt.image.BufferedImage GetPageImage() throws MSTException
MSTException
java.io.InputStream GetPageStream() throws MSTException
MSTException
boolean SetPageImage(java.awt.image.BufferedImage image) throws MSTException
image
- MSTException
boolean SetPageStream(java.io.InputStream stream) throws MSTException
stream
- MSTException
void set_Scale(double d) throws MSTException
d
- MSTException
Rotate get_Rotation() throws MSTException
MSTException
void set_Rotation(Rotate rotation) throws MSTException
rotation
- MSTException
double get_Scale() throws MSTException
MSTException
ResizeQuality get_QualityFactor() throws MSTException
MSTException
void set_QualityFactor(ResizeQuality qualityFactor) throws MSTException
MSTException
float get_Width() throws MSTException
MSTException
void set_Width(float width) throws MSTException
width
- MSTException
float get_Height() throws MSTException
MSTException
void set_Height(float height) throws MSTException
height
- MSTException
int get_BitCount() throws MSTException
MSTException
void set_BitCount(int bitCount) throws MSTException
MSTException
float get_XResolution() throws MSTException
resolution
- MSTException
void set_XResolution(float resolution) throws MSTException
resolution
- MSTException
float get_YResolution() throws MSTException
resolution
- MSTException
void set_YResolution(float resolution) throws MSTException
resolution
- MSTException
boolean Draw(java.awt.Graphics g, java.awt.Component a) throws MSTException
g
- Graphics classs object on which the image is to be drawn.MSTException
IMSTLetters ExtractText() throws MSTException
MSTException
java.awt.Rectangle[] Find(java.lang.String Text, boolean MatchCase) throws MSTException
Text
- String that is to be searched.MatchCase
- true if case are to be matchedMSTException
void set_pageNo(int pageNo) throws MSTException
pageNo
- MSTException
int get_pageNo() throws MSTException
MSTException