public interface Picture
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlt() |
ClientAnchor |
getClientAnchor() |
java.lang.String |
getName() |
PictureData |
getPictureData()
Return picture data for this picture
|
java.lang.String |
getPictureId() |
ClientAnchor |
getPreferredSize() |
void |
resize()
Reset the image to the original size.
|
void |
resize(double scale)
Reset the image to the original size.
|
void |
setClientAnchor(ClientAnchor anchor) |
void resize()
Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls and Calibri 11pt for .xlsx). If the default font is changed the resized image can be streched vertically or horizontally.
void resize(double scale)
Please note, that this method works correctly only for workbooks with default font size (Arial 10pt for .xls and Calibri 11pt for .xlsx). If the default font is changed the resize() procedure can be 'off'.
scale
- the amount by which image dimensions are multiplied relative to the original size.
resize(1.0)
sets the original size, resize(0.5)
resize to 50% of the original,
resize(2.0)
resizes to 200% of the original.ClientAnchor getPreferredSize()
PictureData getPictureData()
java.lang.String getName()
java.lang.String getAlt()
ClientAnchor getClientAnchor()
java.lang.String getPictureId()
void setClientAnchor(ClientAnchor anchor)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.