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
MSTExceptionjava.io.InputStream GetPageStream()
throws MSTException
MSTExceptionboolean SetPageImage(java.awt.image.BufferedImage image)
throws MSTException
image - MSTExceptionboolean SetPageStream(java.io.InputStream stream)
throws MSTException
stream - MSTExceptionvoid set_Scale(double d)
throws MSTException
d - MSTExceptionRotate get_Rotation() throws MSTException
MSTExceptionvoid set_Rotation(Rotate rotation) throws MSTException
rotation - MSTExceptiondouble get_Scale()
throws MSTException
MSTExceptionResizeQuality get_QualityFactor() throws MSTException
MSTExceptionvoid set_QualityFactor(ResizeQuality qualityFactor) throws MSTException
MSTExceptionfloat get_Width()
throws MSTException
MSTExceptionvoid set_Width(float width)
throws MSTException
width - MSTExceptionfloat get_Height()
throws MSTException
MSTExceptionvoid set_Height(float height)
throws MSTException
height - MSTExceptionint get_BitCount()
throws MSTException
MSTExceptionvoid set_BitCount(int bitCount)
throws MSTException
MSTExceptionfloat get_XResolution()
throws MSTException
resolution - MSTExceptionvoid set_XResolution(float resolution)
throws MSTException
resolution - MSTExceptionfloat get_YResolution()
throws MSTException
resolution - MSTExceptionvoid set_YResolution(float resolution)
throws MSTException
resolution - MSTExceptionboolean Draw(java.awt.Graphics g,
java.awt.Component a)
throws MSTException
g - Graphics classs object on which the image is to be drawn.MSTExceptionIMSTLetters ExtractText() throws MSTException
MSTExceptionjava.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 matchedMSTExceptionvoid set_pageNo(int pageNo)
throws MSTException
pageNo - MSTExceptionint get_pageNo()
throws MSTException
MSTException