|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.PdfElementBase com.aspose.pdf.elements.ImageInfo
public class ImageInfo
Encapsulates info for an Image paragraph.
Image
Constructor Summary | |
---|---|
ImageInfo(ElementFactory elementFactory)
Initializes a new instance of the ImageInfo class. |
Method Summary | |
---|---|
AlignmentType |
getAlignment()
Gets an AlignmentType object that indicates the image alignment type. |
boolean |
getBlackWhite()
Gets a bool value that indicates whether the image is forced to be black-and-white. |
float |
getCcittImageHeight()
Gets a float value that indicates the CCITT image height. |
float |
getCcittImageWidth()
Gets a float value that indicates the CCITT image width. |
java.lang.String |
getFile()
Gets a string that indicates the image file name and its path. |
float |
getFixHeight()
Gets a float value that indicates the fixed height of the image. If this property is set, the image will be scaled to the fixed height. |
float |
getFixWidth()
Gets a float value that indicates the fixed width of the image. If this property is set, the image will be scaled to the fixed width. |
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. |
byte[] |
getMemoryData()
Gets a byte array that indicates the image data in memory. |
java.lang.String |
getOpenType()
Gets a ImageOpenType that indicates the image open type. |
float |
getRotationAngle()
Gets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system. |
boolean |
getTextWrap()
Gets a float value that indicates the image would be wrapped by text. |
java.lang.String |
getTitle()
Gets a string value that indicates the title of the image. |
TextInfo |
getTitleTextInfo()
Gets a TextInfo object that indicates the text info of the image Title. |
boolean |
getUnderlying()
Gets a boolean value that indicates the image would be underlying the text. |
ImageInfo |
setAlignment(AlignmentType alignment)
Sets a AlignmentType object that indicates the image alignment type. |
ImageInfo |
setBlackWhite(boolean blackWhite)
Sets a bool value that indicates whether the image is forced to be black-and-white. |
void |
setCcittImageHeight(float imageHeight)
Sets a float value that indicates the CCITT image height. |
void |
setCcittImageWidth(float imageWidth)
Sets a float value that indicates the CCITT image width. |
ImageInfo |
setFile(java.lang.String file)
Sets a string that indicates the image file name and its path. |
void |
setFixHeight(float height)
Gets a float value that indicates the fixed height of the image. If this property is set, the image will be scaled to the fixed height. |
ImageInfo |
setFixWidth(float width)
Sets a float value that indicates the fixed width of the image. If this property is set, the image will be scaled to the fixed width. |
ImageInfo |
setImageBorder(BorderInfo borderInfo)
Sets a BorderInfo object that indicates the border information of the image. |
ImageInfo |
setImageFileType(ImageFileType fileType)
Sets a ImageFileType object that indicates the image type. |
ImageInfo |
setMemoryData(byte[] data)
Sets a byte array that indicates the image data in memory. |
ImageInfo |
setOpenType(java.lang.String type)
Sets a ImageOpenType that indicates the image open type. |
ImageInfo |
setRotationAngle(float rotationAngle)
Sets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system. |
ImageInfo |
setTextWrap(boolean textWrap)
Sets a boolean value that indicates the image would be wrapped by text. |
ImageInfo |
setTitle(java.lang.String title)
Sets a string value that indicates the title of the image. |
ImageInfo |
setTitleTextInfo(TextInfo textInfo)
Sets a TextInfo object that indicates the text info of the image Title. |
ImageInfo |
setUnderlying(boolean underlying)
Sets a boolean value that indicates the image would be underlying the text. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
---|
clone, getDOMElement, getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageInfo(ElementFactory elementFactory)
Method Detail |
---|
public AlignmentType getAlignment()
AlignmentType
public ImageInfo setAlignment(AlignmentType alignment)
alignment
- The alignment to set.AlignmentType
public java.lang.String getFile()
public ImageInfo setFile(java.lang.String file)
file
- The file to set.public float getFixWidth()
public ImageInfo setFixWidth(float width)
width
- The FixWidth to set.public float getFixHeight()
public void setFixHeight(float height)
public ImageFileType getImageFileType()
public ImageInfo setImageFileType(ImageFileType fileType)
fileType
- The ImageFileType to set.public byte[] getMemoryData()
public ImageInfo setMemoryData(byte[] data)
data
- The MemoryData to set.public java.lang.String getOpenType()
ImageOpenType
public ImageInfo setOpenType(java.lang.String type)
type
- The ImageOpenType to set.ImageOpenType
public java.lang.String getTitle()
public ImageInfo setTitle(java.lang.String title)
title
- The Title to set.public TextInfo getTitleTextInfo()
TextInfo
public ImageInfo setTitleTextInfo(TextInfo textInfo)
textInfo
- The TitleTextInfo to set.TextInfo
public BorderInfo getImageBorder()
BorderInfo
public ImageInfo setImageBorder(BorderInfo borderInfo)
borderInfo
- The image BorderInfo to set.BorderInfo
public ImageInfo setRotationAngle(float rotationAngle)
public float getRotationAngle()
public ImageInfo setTextWrap(boolean textWrap)
public boolean getTextWrap()
public ImageInfo setUnderlying(boolean underlying)
public boolean getUnderlying()
public ImageInfo setBlackWhite(boolean blackWhite)
public boolean getBlackWhite()
public float getCcittImageHeight()
public void setCcittImageHeight(float imageHeight)
public float getCcittImageWidth()
public void setCcittImageWidth(float imageWidth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |