BitCount, Height, QuailtyFactor, Rotation, Scale, Width, XResolution, YResolution| Constructor and Description |
|---|
MSTImagePage(Rotate rotation,
double scale,
ResizeQuality qualityFactor,
double width,
double height,
int bitCount,
double resolution,
double resolution2,
java.awt.image.BufferedImage bi,
java.io.InputStream iStream) |
| 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 scale)
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.
|
public MSTImagePage(Rotate rotation, double scale, ResizeQuality qualityFactor, double width, double height, int bitCount, double resolution, double resolution2, java.awt.image.BufferedImage bi, java.io.InputStream iStream)
public Rotate get_Rotation() throws MSTException
IMSTPageget_Rotation in interface IMSTPageMSTExceptionpublic void set_Rotation(Rotate rotation) throws MSTException
IMSTPageset_Rotation in interface IMSTPageMSTExceptionpublic double get_Scale()
throws MSTException
IMSTPageget_Scale in interface IMSTPageMSTExceptionpublic void set_Scale(double scale)
throws MSTException
IMSTPageset_Scale in interface IMSTPageMSTExceptionpublic ResizeQuality get_QualityFactor() throws MSTException
get_QualityFactor in interface IMSTPageMSTExceptionpublic void set_QualityFactor(ResizeQuality qualityFactor) throws MSTException
set_QualityFactor in interface IMSTPageMSTExceptionpublic float get_Width()
throws MSTException
IMSTPageget_Width in interface IMSTPageMSTExceptionpublic void set_Width(float width)
throws MSTException
IMSTPageset_Width in interface IMSTPageMSTExceptionpublic float get_Height()
throws MSTException
IMSTPageget_Height in interface IMSTPageMSTExceptionpublic void set_Height(float height)
throws MSTException
IMSTPageset_Height in interface IMSTPageMSTExceptionpublic int get_BitCount()
throws MSTException
IMSTPageget_BitCount in interface IMSTPageMSTExceptionpublic void set_BitCount(int bitCount)
throws MSTException
IMSTPageset_BitCount in interface IMSTPageMSTExceptionpublic float get_XResolution()
throws MSTException
IMSTPageget_XResolution in interface IMSTPageMSTExceptionpublic void set_XResolution(float resolution)
throws MSTException
IMSTPageset_XResolution in interface IMSTPageMSTExceptionpublic float get_YResolution()
throws MSTException
IMSTPageget_YResolution in interface IMSTPageMSTExceptionpublic void set_YResolution(float resolution)
throws MSTException
IMSTPageset_YResolution in interface IMSTPageMSTExceptionpublic boolean SetPageImage(java.awt.image.BufferedImage image)
throws MSTException
IMSTPageSetPageImage in interface IMSTPageMSTExceptionpublic boolean SetPageStream(java.io.InputStream stream)
throws MSTException
IMSTPageSetPageStream in interface IMSTPageMSTExceptionpublic java.awt.image.BufferedImage GetPageImage()
throws MSTException
IMSTPageGetPageImage in interface IMSTPageMSTExceptionpublic java.io.InputStream GetPageStream()
throws MSTException
IMSTPageGetPageStream in interface IMSTPageMSTExceptionpublic IMSTLetters ExtractText() throws MSTException
IMSTPageExtractText in interface IMSTPageMSTExceptionpublic java.awt.Rectangle[] Find(java.lang.String Text,
boolean MatchCase)
throws MSTException
IMSTPageFind in interface IMSTPageText - String that is to be searched.MatchCase - true if case are to be matchedMSTExceptionpublic boolean Draw(java.awt.Graphics g,
java.awt.Component a)
throws MSTException
IMSTPageDraw in interface IMSTPageg - Graphics classs object on which the image is to be drawn.MSTExceptionpublic int get_pageNo()
throws MSTException
IMSTPageget_pageNo in interface IMSTPageMSTExceptionpublic void set_pageNo(int pageNo)
throws MSTException
IMSTPageset_pageNo in interface IMSTPageMSTException