public class MSTPdfPage extends MSTDocumentPage
BitCount, Height, QuailtyFactor, Rotation, Scale, Width, XResolution, YResolution
Constructor and Description |
---|
MSTPdfPage(Rotate rotation,
double scale,
ResizeQuality qualityFactor,
double width,
double height,
int bitCount,
double resolution,
double resolution2,
java.awt.image.BufferedImage bi,
java.io.InputStream inputStream) |
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.
|
get_BitCount, get_Height, get_pageNo, get_QualityFactor, get_Rotation, get_Scale, get_Width, get_XResolution, get_YResolution, GetPageImage, GetPageStream, set_BitCount, set_Height, set_pageNo, set_QualityFactor, set_Rotation, set_Scale, set_Width, set_XResolution, set_YResolution, SetPageImage, SetPageStream
public MSTPdfPage(Rotate rotation, double scale, ResizeQuality qualityFactor, double width, double height, int bitCount, double resolution, double resolution2, java.awt.image.BufferedImage bi, java.io.InputStream inputStream)
public boolean Draw(java.awt.Graphics g, java.awt.Component a) throws MSTException
IMSTPage
Draw
in interface IMSTPage
Draw
in class MSTDocumentPage
g
- Graphics classs object on which the image is to be drawn.MSTException
public java.awt.Rectangle[] Find(java.lang.String Text, boolean MatchCase)
IMSTPage
Find
in interface IMSTPage
Find
in class MSTDocumentPage
Text
- String that is to be searched.MatchCase
- true if case are to be matchedpublic IMSTLetters ExtractText() throws MSTException
IMSTPage
ExtractText
in interface IMSTPage
ExtractText
in class MSTDocumentPage
MSTException