![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Shape
com.aspose.cells.Picture
public class Picture
Encapsulates the object that represents a single picture in a spreadsheet.
Method Summary | |
---|---|
float |
getCropFromBottom()
Gets the bottom cropping information. |
float |
getCropFromLeft()
Gets the left cropping information. |
float |
getCropFromRight()
Gets the right cropping information. |
float |
getCropFromTop()
Gets the top cropping information. |
byte[] |
getData()
Gets the data of the picture. |
int |
getHeightScale()
Gets the height scale of picture(in unit of 1/100) |
int |
getImageFormat()
Gets the image format of the picture. |
int |
getOriginalHeight()
Gets the original height of picture, in unit of pixel. |
double |
getOriginalHeightCM()
Gets the original height of picture, in unit of centimeters. |
float |
getOriginalHeightInch()
Gets the original height of picture, in unit of inches. |
int |
getOriginalWidth()
Gets the original width of picture, in unit of pixel. |
double |
getOriginalWidthCM()
Gets the original width of picture, in unit of centimeters. |
float |
getOriginalWidthInch()
Gets the original width of picture, in unit of inches. |
int |
getWidthScale()
Gets the width scale of picture(in unit of 1/100) |
void |
setCropFromBottom(float cropValue)
Sets the bottom cropping information. |
void |
setCropFromLeft(float cropValue)
Sets the left cropping information. |
void |
setCropFromRight(float cropValue)
Sets the right cropping information. |
void |
setCropFromTop(float cropValue)
Sets the top cropping information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getWidthScale()
public int getHeightScale()
public int getOriginalWidth()
public int getOriginalHeight()
public double getOriginalWidthCM()
public double getOriginalHeightCM()
public float getOriginalWidthInch()
public float getOriginalHeightInch()
public float getCropFromTop()
public void setCropFromTop(float cropValue)
cropValue
- the ratio of cropped part to total image height.public float getCropFromLeft()
public void setCropFromLeft(float cropValue)
cropValue
- the ratio of cropped part to total image width.public float getCropFromRight()
public void setCropFromRight(float cropValue)
cropValue
- the ratio of cropped part to total image width.public float getCropFromBottom()
public void setCropFromBottom(float cropValue)
cropValue
- the ratio of cropped part to total image height.public byte[] getData()
public int getImageFormat()
ImageFormat
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |