|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.ImageInfo
public class ImageInfo
Encapsulates info for an Image
paragraph.
Typical usages are the following:
Constructor Summary | |
---|---|
ImageInfo()
Constructor - initializes a new instance of the ImageInfo class. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
|
AlignmentType |
getAlignment()
Gets a AlignmentType object that indicates the image alignment type. |
int |
getBitsPerComponent()
Deprecated. This function is now obsolete. Web image can be supported by setting the URL in Image.ImageInfo.File. You need not set this property any more. |
float |
getCcittImageHeight()
Gets a float value that indicates the CCITT image height. |
float |
getCcittImageWidth()
Gets a float value that indicates the CCITT image width. |
CcittSubFormat |
getCcittSubFormat()
Gets the CcittSubFormat. |
int |
getComponentNumber()
Deprecated. This property is now obsolete. Web image can be supported by setting the URL in Image.ImageInfo.File.You need not set this property any more. |
java.lang.String |
getDefaultFile()
Gets a String that indicates the default image file name. |
java.lang.String |
getFile()
Gets a String that indicates the image file name and its path or url of a web image. |
float |
getFixHeight()
Gets a float value that indicates the fixed height of the image. |
float |
getFixWidth()
Gets or sets a float value that indicates the fixed width of the image. |
BorderInfo |
getImageBorder()
Gets a BorderInfo object that indicates the border information of the
image. |
ImageFileType |
getImageFileType()
Gets a ImageFileType object that indicates the image type. |
BinaryFileStream |
getImageStream()
Gets a stream that indicates the image stream. |
boolean |
getIsFixImgHeightSettedInXML()
Gets a boolean value that indicates the fixed height of the image is specified in xml file. |
byte[] |
getMemoryData()
Deprecated. This function is now obsolete. Please use ImageStream instead. |
ImageOpenType |
getOpenType()
Deprecated. This function is now obsolete. URL is supported in Image.ImageInfo.File. Memory image can be supported by Image.ImageInfo.ImageStream. You need not set OpenType any more. |
java.awt.image.BufferedImage |
getSysImageStream()
Gets a BufferedImage object. |
aspose.pdf.figure.Image |
getSystemImage()
Gets a Image object which is used to create a
Aspose Aspose.Pdf.Image object. |
TextInfo |
getTextInfo()
Gets a TextInfo object that indicates the text info of the image Title. |
int |
getTiffFrame()
Gets an int value that indicates the valid frame of the TIFF image. |
java.lang.String |
getTitle()
Gets a String value that indicates the title of the image. |
boolean |
isAllFramesInNewPage()
Gets a boolean value that indicates whether all frames in TIFF images should be rendered in new page. |
boolean |
isBlack1()
Gets a boolean value that indicates whether black is considered as 1 in an image. |
boolean |
isBlackWhite()
Gets a boolean value that indicates whether the image is forced to be black-and-white. |
boolean |
isFixImgWidthSettedInXML()
Gets a boolean value that indicates the fixed width of the image is set in xml file. |
boolean |
isImageNotFoundErrorIgnored()
Gets a boolean value that indicates whether the "image not found" error be ignored or not. |
void |
setAlignment(AlignmentType paraAlignment)
Sets a AlignmentType object that indicates the image alignment type. |
void |
setBitsPerComponent(int bitsPerCom)
Sets an int value that indicates the color bits per component of the image. |
void |
setCcittImageHeight(float ccittImgHeight)
Sets a float value that indicates the CCITT image height. |
void |
setCcittImageWidth(float ccittImgWidth)
Sets a float value that indicates the CCITT image width. |
void |
setCcittSubFormat(CcittSubFormat ccittSubFormat)
Sets the CcittSubFormat. |
void |
setComponentNumber(int components)
Deprecated. This property is now obsolete. Web image can be supported by setting the URL in Image.ImageInfo.File. You need not set this property any more. |
void |
setDefaultFile(java.lang.String defaultImgFile)
Sets a String that indicates the default image file name. |
void |
setFile(java.lang.String value)
Sets a String that indicates the image file name and its path or url of a web image. |
void |
setFixHeight(float fixImgHeight)
Sets a float value that indicates the fixed height of the image. |
void |
setFixWidth(float fixImgWidth)
Sets a float value that indicates the fixed width of the image. |
void |
setImageBorder(BorderInfo imageBorder)
Sets a BorderInfo object that indicates the border information of the
image. |
void |
setImageFileType(ImageFileType imgType)
Sets a ImageFileType object that indicates the image type. |
void |
setImageStream(BinaryFileStream imageStream)
Sets a stream that indicates the image stream. |
void |
setImageStream(java.io.FileInputStream fs)
Sets a stream that indicates the image stream. |
void |
setIsAllFramesInNewPage(boolean allFramesInNewPage)
Sets a boolean value that indicates whether all frames in TIFF images should be rendered in new page. |
void |
setIsBlack1(boolean black1)
Sets a boolean value that indicates whether black is considered as 1 in an image. |
void |
setIsBlackWhite(boolean forceBlackWhite)
Sets a boolean value that indicates whether the image is forced to be black-and-white. |
void |
setIsFixImgHeightSettedInXML(boolean isFixImgHeightSettedInXML)
Sets a boolean value that indicates the fixed height of the image is set in xml file. |
void |
setIsFixImgWidthSettedInXML(boolean isFixImgWidthSettedInXML)
Sets a boolean value that indicates the fixed width of the image is set in xml file. |
void |
setIsImageNotFoundErrorIgnored(boolean isImgNotFoundIgnored)
Sets a boolean value that indicates whether the "image not found" error be ignored or not. |
void |
setMemoryData(byte[] memData)
Deprecated. This function is now obsolete. Please use ImageStream instead. |
void |
setOpenType(ImageOpenType imgOpenType)
Deprecated. This function is now obsolete. URL is supported in Image.ImageInfo.File. Memory image can is supported by Image.ImageInfo.ImageStream. You need not set OpenType any more. |
void |
setSysImageStream(java.awt.image.BufferedImage insysimage)
Sets a BufferedImage object which is used to create a
Aspose Aspose.Pdf.Image object. |
void |
setSystemImage(aspose.pdf.figure.Image sysImage)
Sets a aspose.pdf.figure.Image object which is used to create a
Aspose Aspose.Pdf.Image object. |
void |
setTextInfo(TextInfo imageTitleInfo)
Sets a TextInfo object that indicates the text info of the image Title. |
void |
setTiffFrame(int tiffFrameNumber)
Sets an int value that indicates the valid frame of the TIFF image. |
void |
setTitle(java.lang.String imageTitle)
Sets a String value that indicates the title of the image. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageInfo()
ImageInfo
class.
Method Detail |
---|
public AlignmentType getAlignment()
AlignmentType
object that indicates the image alignment type.
AlignmentType
object.public void setAlignment(AlignmentType paraAlignment)
AlignmentType
object that indicates the image alignment type.
paraAlignment
- An AlignmentType
object.public java.lang.String getTitle()
public void setTitle(java.lang.String imageTitle)
imageTitle
- Image title name.public TextInfo getTextInfo()
TextInfo
object that indicates the text info of the image Title.
TextInfo
object.public void setTextInfo(TextInfo imageTitleInfo)
TextInfo
object that indicates the text info of the image Title.
imageTitleInfo
- A TextInfo
object.public ImageOpenType getOpenType()
ImageOpenType
that indicates the image open type.
ImageOpenType
object.public void setOpenType(ImageOpenType imgOpenType)
ImageOpenType
that indicates the image open type.
imgOpenType
- An ImageOpenType
object.public ImageFileType getImageFileType()
ImageFileType
object that indicates the image type. If this
property is not set, the image type will be get from the file name.
ImageFileType
object.public void setImageFileType(ImageFileType imgType)
ImageFileType
object that indicates the image type. If this
property is not set, the image type will be get from the file name.
imgType
- An ImageFileType
object.public BorderInfo getImageBorder()
BorderInfo
object that indicates the border information of the
image.
BorderInfo
object.public void setImageBorder(BorderInfo imageBorder)
BorderInfo
object that indicates the border information of the
image.
imageBorder
- An BorderInfo
object.public java.lang.String getFile()
public void setFile(java.lang.String value)
value
- A String value.public BinaryFileStream getImageStream()
public void setImageStream(BinaryFileStream imageStream)
imageStream
- A BinaryFileStream object.public void setImageStream(java.io.FileInputStream fs)
fs
- A FileInputStream object.public aspose.pdf.figure.Image getSystemImage()
Image
object which is used to create a
Aspose Aspose.Pdf.Image object.
Image
object.public void setSystemImage(aspose.pdf.figure.Image sysImage)
aspose.pdf.figure.Image
object which is used to create a
Aspose Aspose.Pdf.Image object.
sysImage
- A aspose.pdf.figure.Image
object.public java.awt.image.BufferedImage getSysImageStream()
BufferedImage
object.
BufferedImage
object.public void setSysImageStream(java.awt.image.BufferedImage insysimage)
BufferedImage
object which is used to create a
Aspose Aspose.Pdf.Image object.
insysimage
- A BufferedImage
object.public java.lang.String getDefaultFile()
public void setDefaultFile(java.lang.String defaultImgFile)
defaultImgFile
- A String value.public boolean isImageNotFoundErrorIgnored()
public void setIsImageNotFoundErrorIgnored(boolean isImgNotFoundIgnored)
isImgNotFoundIgnored
- A boolean value.public byte[] getMemoryData()
public void setMemoryData(byte[] memData)
public boolean isBlack1()
public void setIsBlack1(boolean black1)
black1
- A boolean value.public int getComponentNumber()
public void setComponentNumber(int components)
components
- An int value.public int getBitsPerComponent()
public void setBitsPerComponent(int bitsPerCom)
public CcittSubFormat getCcittSubFormat()
public void setCcittSubFormat(CcittSubFormat ccittSubFormat)
ccittSubFormat
- A CcittSubFormat object.public int getTiffFrame()
public void setTiffFrame(int tiffFrameNumber)
public float getFixWidth()
public void setFixWidth(float fixImgWidth)
fixImgWidth
- A float value.public boolean isFixImgWidthSettedInXML()
public void setIsFixImgWidthSettedInXML(boolean isFixImgWidthSettedInXML)
isFixImgWidthSettedInXML
- A boolean value.public float getFixHeight()
public void setFixHeight(float fixImgHeight)
fixImgHeight
- A float value.public boolean getIsFixImgHeightSettedInXML()
public void setIsFixImgHeightSettedInXML(boolean isFixImgHeightSettedInXML)
isFixImgHeightSettedInXML
- A boolean value.public boolean isBlackWhite()
public void setIsBlackWhite(boolean forceBlackWhite)
forceBlackWhite
- A boolean value.public float getCcittImageWidth()
public void setCcittImageWidth(float ccittImgWidth)
ccittImgWidth
- A float value.public float getCcittImageHeight()
public void setCcittImageHeight(float ccittImgHeight)
ccittImgHeight
- A float value.public boolean isAllFramesInNewPage()
public void setIsAllFramesInNewPage(boolean allFramesInNewPage)
allFramesInNewPage
- A boolean value.protected java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |