|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Paragraph
aspose.pdf.Image
public class Image
Represents an image
Typical usages are the following:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class aspose.pdf.Paragraph |
---|
Paragraph.VerticalPositionInfo |
Field Summary | |
---|---|
int |
ImageSlot
Storage OpenImageFile () return value. |
boolean |
IsSizeProcessed
Have access to the image height and width of the |
Fields inherited from class aspose.pdf.Paragraph |
---|
_realPageNumber, INNER_INDENT, isNeedAddToPage, isPositionProcessed, VerticalPosInfo |
Constructor Summary | |
---|---|
Image()
Constructor - initializes a new instance of the Image class. |
|
Image(HeaderFooter hf)
Constructor - initializes a new instance of the Image class. |
|
Image(Section section)
Constructor - initializes a new instance of the Image class. |
Method Summary | |
---|---|
java.lang.Object |
completeClone()
Clones a new Image object. |
float |
getAdditionalHeightForRotating()
Gets addition height caused by image rotation. |
GraphicState |
getGraphicState()
Gets a GraphicState object that indicates the graphic state for the
image. |
Hyperlink |
getHyperlink()
Gets a Hyperlink object that indicates the hyper link info of the
image. |
float |
getImageHeight()
Gets a float value that indicates the image height. |
float |
getImageHeightScale()
Gets a float value that indicates the scale rate of the image height when placed into pdf file. |
ImageInfo |
getImageInfo()
Gets a ImageInfo object that indicates the common image info. |
GraphNotes |
getImageNotes()
Gets a GraphNotes collection that indicates all notes in the image. |
float |
getImageScale()
Gets a float value that indicates the scale rate of the image when placed into pdf file. |
float |
getImageWidth()
Deprecated. This function is now obsolete. |
float |
getImageWidthScale()
Gets a float value that indicates the scale rate of the image width when placed into pdf file. |
boolean |
getIsScaled()
Gets a boolean value indicates whether image has been scled. |
boolean |
getIsSizeProcessed()
Gets a boolean value that indicates whether the image size has been processed. |
float |
getOpacity()
Gets a float value between 0.0 and 1.0 that indicates the opacity of the image. |
float |
getRealHeight()
Gets a float value that indicates the image real height. |
float |
getRealWidth()
Gets a float value that indicates the image real width. |
float |
getRotatingAngle()
Gets a float value between -90 and 90 that indicates the number of degrees by which the image should be rotated anticlockwise when displayed or printed. |
int |
getZIndex()
Gets an int value that indicates the Z-order of the image. |
boolean |
isImageFitToRowHeight()
Gets a boolean value that indicates whether the image fit to the size of cell which has the only image paragraph. |
boolean |
isNeedRepeating()
Gets a boolean value that indicates whether the paragraph need to be repeated on next page. |
void |
setGraphicState(GraphicState gState)
Sets a GraphicState object that indicates the graphic state for the
image. |
void |
setHyperlink(Hyperlink hyperlinkInfo)
Sets a Hyperlink object that indicates the hyper link info of the
image. |
void |
setImageHeight(float height)
Sets a float value that indicates the image height. |
void |
setImageHeightScale(float hscale)
Sets a float value that indicates the scale rate of the image height when placed into pdf file. |
void |
setImageInfo(ImageInfo imageInfo)
Sets a ImageInfo object that indicates the common image info. |
void |
setImageNotes(GraphNotes notes)
Sets a GraphNotes collection that indicates all notes in the image. |
void |
setImageScale(float scale)
Sets a float value that indicates the scale rate of the image when placed into pdf file. |
void |
setImageWidth(float width)
Deprecated. This function is now obsolete. Web image can be supported by setting the URL in Image.getImageInfo().setFile(). You need not set this function any more. For CCITT image, please use ImageInfo.setCcittImageWidth() instead. |
void |
setImageWidthScale(float wscale)
Sets or sets a float value that indicates the scale rate of the image width when placed into pdf file. |
void |
setIsImageFitToRowHeight(boolean isImageFitToRowHeight)
Sets a boolean value that indicates whether the image fit to the size of cell which has the only image paragraph. |
void |
setIsNeedRepeating(boolean isNeedRepeating)
Sets a boolean value that indicates whether the paragraph need to be repeated on next page. |
void |
setIsScaled(boolean imgScaled)
Sets a boolean value indicates whether image has been scled. |
void |
setIsSizeProcessed(boolean IsSizeProcessed)
Sets a boolean value that indicates whether the image size has been processed. |
void |
setOpacity(float opacity)
Sets a float value between 0.0 and 1.0 that indicates the opacity of the image. |
void |
setRealHeight(float RealHeight)
Sets a float value that indicates the image real height. |
void |
setRealWidth(float realWidth)
Sets a float value that indicates the image real width. |
void |
setRotatingAngle(float rotatingAngle)
Sets a float value between -90 and 90 that indicates the number of degrees by which the image should be rotated anticlockwise when displayed or printed. |
void |
setZIndex(int z_index)
Sets an int value that indicates the Z-order of the image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean IsSizeProcessed
public int ImageSlot
Constructor Detail |
---|
public Image()
Image
class.
public Image(Section section)
Image
class.
This constructor can inherit common property values from the
specified Section object.
section
- The section object.public Image(HeaderFooter hf)
Image
class.
The HeaderFooter
object. This constructor can inherit common property
values from the specified HeaderFooter
object.
hf
- A HeaderFooter
object.Method Detail |
---|
public ImageInfo getImageInfo()
ImageInfo
object that indicates the common image info.
public void setImageInfo(ImageInfo imageInfo)
ImageInfo
object that indicates the common image info.
public boolean isNeedRepeating()
public void setIsNeedRepeating(boolean isNeedRepeating)
isNeedRepeating
- A boolean value.public GraphNotes getImageNotes()
GraphNotes
collection that indicates all notes in the image.
GraphNotes
object.public void setImageNotes(GraphNotes notes)
notes
- A GraphNotes
object.public float getImageWidth()
public void setImageWidth(float width)
width
- A float value.public float getImageWidthScale()
public void setImageWidthScale(float wscale)
wscale
- A float value.public float getImageHeight()
public void setImageHeight(float height)
height
- A float value.public float getImageScale()
public void setImageScale(float scale)
scale
- A float value.public boolean isImageFitToRowHeight()
public void setIsImageFitToRowHeight(boolean isImageFitToRowHeight)
isImageFitToRowHeight
- A boolean value.public float getImageHeightScale()
public void setImageHeightScale(float hscale)
hscale
- A float value.public GraphicState getGraphicState()
GraphicState
object that indicates the graphic state for the
image.
GraphicState
object.public void setGraphicState(GraphicState gState)
GraphicState
object that indicates the graphic state for the
image.
gState
- A GraphicState
object.public void setOpacity(float opacity)
opacity
- A float value.public float getOpacity()
public boolean getIsScaled()
public void setIsScaled(boolean imgScaled)
imgScaled
- A boolean value.public java.lang.Object completeClone()
Image
object.
completeClone
in class Paragraph
Image
object.public Hyperlink getHyperlink()
Hyperlink
object that indicates the hyper link info of the
image.
Hyperlink
object.public void setHyperlink(Hyperlink hyperlinkInfo)
Hyperlink
object that indicates the hyper link info of the
image.
hyperlinkInfo
- Hyperlink
object.public float getRealWidth()
public void setRealWidth(float realWidth)
realWidth
- A float value.public float getRealHeight()
public void setRealHeight(float RealHeight)
RealHeight
- A float value.public boolean getIsSizeProcessed()
public void setIsSizeProcessed(boolean IsSizeProcessed)
IsSizeProcessed
- A float value.public int getZIndex()
public void setZIndex(int z_index)
z_index
- An int value.public float getRotatingAngle()
public void setRotatingAngle(float rotatingAngle)
rotatingAngle
- A float value.public float getAdditionalHeightForRotating()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |