GridPicture

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.gridweb.IGridSave

public class GridPicture implements IGridSave

Encapsulates the object that represents a single picture in a spreadsheet.

Methods

MethodDescription
addHyperlink(String address)Adds a hyperlink to the shape.
alignTopRightCorner(int topRow, int rightColumn)Moves the picture to the top-right corner.
equals(Object arg0)
getAlternativeText()Returns or sets the descriptive (alternative) text string of the GridShape object.
getBorderLineColor()Represents the Color of the border line of a picture.
getBorderWeight()Gets the weight of the border line of a picture in units of pt.
getBottom()Represents the width of the shape’s vertical offset from its lower bottom corner row, in unit of pixels.
getClass()
getData()Gets the data of the picture.
getHeight()Represents the height of shape, in unit of pixel.
getHeightCM()Represents the height of the shape, in unit of inches.
getHeightInch()Represents the height of the shape, in unit of inches.
getHeightPt()Represents the height of the shape, in unit of points.
getHeightScale()Gets the height scale,in unit of percent of the original picture height.
getHtmlText()Gets the html string which contains data and some formattings in this textbox.
getHyperlink()Gets the hyperlink of the shape.
getID()Gets /Sets the ID of the picture.
getImageFormat()Gets the image format of the picture.
getLeft()Represents the horizontal offset of shape from its left column, in unit of pixels.
getLeftCM()Represents the horizontal offset of shape from its left column, in unit of centimeters.
getLeftInch()Represents the horizontal offset of shape from its left column, in unit of inches.
getLeftToCorner()Represents the horizontal offset of shape from worksheet left board, in unit of pixels.
getLinkedCell()Gets the worksheet range linked to the control’s value.
getLowerDeltaX()Gets the shape’s horizontal offset from its lower right corner column.
getLowerDeltaY()Gets the shape’s vertical offset from its lower right corner row.
getLowerRightColumn()Represents lower right corner column index.
getLowerRightRow()Represents lower right corner row index.
getName()Gets the name of the shape.
getOriginalHeight()Gets the original height of the picture.
getOriginalHeightCM()Gets the original height of picture, in unit of centimeters.
getOriginalHeightInch()Gets the original height of picture, in unit of inches.
getOriginalWidth()Gets the original width of the picture.
getOriginalWidthCM()Gets the original width of picture, in unit of centimeters.
getOriginalWidthInch()Gets the original width of picture, in unit of inches.
getRelativeToOriginalPictureSize()Indicates whether shape is relative to original picture size.
getRight()Represents the width of the shape’s horizontal offset from its lower right corner column, in unit of pixels.
getRotationAngle()Gets the rotation of the shape.
getSourceFullName()Gets the path and name of the source file for the linked image.
getText()Represents the string in this TextBox object.
getTitle()Specifies the title (caption) of the current shape object.
getTop()Represents the vertical offset of shape from its top row, in unit of pixels.
getTopCM()Represents the vertical offset of shape from its top row, in unit of centimeters.
getTopInch()Represents the vertical offset of shape from its top row, in unit of inches.
getTopToCorner()Represents the vertical offset of shape from worksheet top board, in unit of pixels.
getUpperDeltaX()Gets the shape’s horizontal offset from its upper left corner column.
getUpperDeltaY()Gets the shape’s vertical offset from its upper left corner row.
getUpperLeftColumn()Represents upper left corner column index.
getUpperLeftRow()Represents upper left corner row index.
getWidth()Represents the width of shape, in unit of pixels.
getWidthCM()Represents the width of the shape, in unit of centimeters.
getWidthInch()Represents the width of the shape, in unit of inch.
getWidthPt()Represents the width of the shape, in unit of point.
getWidthScale()Gets the width scale, in unit of percent of the original picture width.
getX()Gets the horizonal offset of shape from worksheet left border,in unit of pixels.
getY()Gets the vertical offset of shape from worksheet top border,in unit of pixels.
getZOrderPosition()Returns the position of a shape in the z-order.
hasLine()Gets the line border of the shape is visible.
hashCode()
isFlippedVertically()Gets whether shape is vertically flipped .
isGroup()Indicates whether the shape is a group.
isHidden()Indicates whether the object is visible.
isLockAspectRatio()True means that don’t allow changes in aspect ratio.
isLocked()True if the object is locked, False if the object can be modified when the sheet is protected.
isTextWrapped()Gets the text wrapped type of the shape which contains text.
move(int upperLeftRow, int upperLeftColumn)Moves the picture to a specified location.
moveToRange(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)Moves the shape to a specified range.
notify()
notifyAll()
removeHyperlink()Remove the hyperlink of the shape.
saveToImage(InputStream s)Creates the image and saves it to a stream .
setAlternativeText(String value)Returns or sets the descriptive (alternative) text string of the GridShape object.
setBorderLineColor(Color value)Represents the Color of the border line of a picture.
setBorderWeight(double value)Sets the weight of the border line of a picture in units of pt.
setBottom(int value)Represents the width of the shape’s vertical offset from its lower bottom corner row, in unit of pixels.
setData(byte[] value)Gets the data of the picture.
setFlippedVertically(boolean value)Sets whether shape is vertically flipped .
setHasLine(boolean value)Sets the line border of the shape is visible.
setHeight(int value)Represents the height of shape, in unit of pixel.
setHeightCM(double value)Represents the height of the shape, in unit of inches.
setHeightInch(double value)Represents the height of the shape, in unit of inches.
setHeightPt(double value)Represents the height of the shape, in unit of points.
setHeightScale(int value)Sets the height scale,in unit of percent of the original picture height.
setHidden(boolean value)Indicates whether the object is visible.
setHtmlText(String value)Sets the html string which contains data and some formattings in this textbox.
setID(String value)Gets /Sets the ID of the picture.
setLeft(int value)Represents the horizontal offset of shape from its left column, in unit of pixels.
setLeftCM(double value)Represents the horizontal offset of shape from its left column, in unit of centimeters.
setLeftInch(double value)Represents the horizontal offset of shape from its left column, in unit of inches.
setLeftToCorner(int value)Represents the horizontal offset of shape from worksheet left board, in unit of pixels.
setLinkedCell(String value)Sets the worksheet range linked to the control’s value.
setLockAspectRatio(boolean value)True means that don’t allow changes in aspect ratio.
setLocked(boolean value)True if the object is locked, False if the object can be modified when the sheet is protected.
setLowerDeltaX(int value)Sets the shape’s horizontal offset from its lower right corner column.
setLowerDeltaY(int value)Sets the shape’s vertical offset from its lower right corner row.
setLowerRightColumn(int value)Represents lower right corner column index.
setLowerRightRow(int value)Represents lower right corner row index.
setName(String value)Sets the name of the shape.
setRelativeToOriginalPictureSize(boolean value)Indicates whether shape is relative to original picture size.
setRight(int value)Represents the width of the shape’s horizontal offset from its lower right corner column, in unit of pixels.
setRotationAngle(double value)Sets the rotation of the shape.
setSourceFullName(String value)Sets the path and name of the source file for the linked image.
setText(String value)Represents the string in this TextBox object.
setTextWrapped(boolean value)Sets the text wrapped type of the shape which contains text.
setTitle(String value)Specifies the title (caption) of the current shape object.
setTop(int value)Represents the vertical offset of shape from its top row, in unit of pixels.
setTopCM(double value)Represents the vertical offset of shape from its top row, in unit of centimeters.
setTopInch(double value)Represents the vertical offset of shape from its top row, in unit of inches.
setTopToCorner(int value)Represents the vertical offset of shape from worksheet top board, in unit of pixels.
setUpperDeltaX(int value)Sets the shape’s horizontal offset from its upper left corner column.
setUpperDeltaY(int value)Sets the shape’s vertical offset from its upper left corner row.
setUpperLeftColumn(int value)Represents upper left corner column index.
setUpperLeftRow(int value)Represents upper left corner row index.
setWidth(int value)Represents the width of shape, in unit of pixels.
setWidthCM(double value)Represents the width of the shape, in unit of centimeters.
setWidthInch(double value)Represents the width of the shape, in unit of inch.
setWidthPt(double value)Represents the width of the shape, in unit of point.
setWidthScale(int value)Sets the width scale, in unit of percent of the original picture width.
setX(int value)Sets the horizonal offset of shape from worksheet left border,in unit of pixels.
setY(int value)Sets the vertical offset of shape from worksheet top border,in unit of pixels.
setZOrderPosition(int value)Returns the position of a shape in the z-order.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
public GridHyperlink addHyperlink(String address)

Adds a hyperlink to the shape.

Parameters:

ParameterTypeDescription
addressjava.lang.StringAddress of the hyperlink.

Returns: GridHyperlink - Return the new hyperlink object.

alignTopRightCorner(int topRow, int rightColumn)

public void alignTopRightCorner(int topRow, int rightColumn)

Moves the picture to the top-right corner.

Parameters:

ParameterTypeDescription
topRowintthe row index.
rightColumnintthe column index.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAlternativeText()

public String getAlternativeText()

Returns or sets the descriptive (alternative) text string of the GridShape object.

Returns: java.lang.String

getBorderLineColor()

public Color getBorderLineColor()

Represents the Color of the border line of a picture.

Returns: Color

getBorderWeight()

public double getBorderWeight()

Gets the weight of the border line of a picture in units of pt.

Returns: double

getBottom()

public int getBottom()

Represents the width of the shape’s vertical offset from its lower bottom corner row, in unit of pixels.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public byte[] getData()

Gets the data of the picture.

Returns: byte[]

getHeight()

public int getHeight()

Represents the height of shape, in unit of pixel.

Returns: int

getHeightCM()

public double getHeightCM()

Represents the height of the shape, in unit of inches.

Returns: double

getHeightInch()

public double getHeightInch()

Represents the height of the shape, in unit of inches.

Returns: double

getHeightPt()

public double getHeightPt()

Represents the height of the shape, in unit of points.

Returns: double

getHeightScale()

public int getHeightScale()

Gets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100;

Returns: int

getHtmlText()

public String getHtmlText()

Gets the html string which contains data and some formattings in this textbox.

Returns: java.lang.String

public GridHyperlink getHyperlink()

Gets the hyperlink of the shape.

Returns: GridHyperlink

getID()

public String getID()

Gets /Sets the ID of the picture.

Returns: java.lang.String

getImageFormat()

public int getImageFormat()

Gets the image format of the picture.

See GridImageType.

Returns: int

getLeft()

public int getLeft()

Represents the horizontal offset of shape from its left column, in unit of pixels.

Returns: int

getLeftCM()

public double getLeftCM()

Represents the horizontal offset of shape from its left column, in unit of centimeters.

Returns: double

getLeftInch()

public double getLeftInch()

Represents the horizontal offset of shape from its left column, in unit of inches.

Returns: double

getLeftToCorner()

public int getLeftToCorner()

Represents the horizontal offset of shape from worksheet left board, in unit of pixels.

Returns: int

getLinkedCell()

public String getLinkedCell()

Gets the worksheet range linked to the control’s value.

Returns: java.lang.String

getLowerDeltaX()

public int getLowerDeltaX()

Gets the shape’s horizontal offset from its lower right corner column. The range of value is 0 to 1024.

Returns: int

getLowerDeltaY()

public int getLowerDeltaY()

Gets the shape’s vertical offset from its lower right corner row. The range of value is 0 to 256.

Returns: int

getLowerRightColumn()

public int getLowerRightColumn()

Represents lower right corner column index.

Returns: int

getLowerRightRow()

public int getLowerRightRow()

Represents lower right corner row index.

Returns: int

getName()

public String getName()

Gets the name of the shape.

Returns: java.lang.String

getOriginalHeight()

public int getOriginalHeight()

Gets the original height of the picture.

Returns: int

getOriginalHeightCM()

public double getOriginalHeightCM()

Gets the original height of picture, in unit of centimeters.

Returns: double

getOriginalHeightInch()

public double getOriginalHeightInch()

Gets the original height of picture, in unit of inches.

Returns: double

getOriginalWidth()

public int getOriginalWidth()

Gets the original width of the picture.

Returns: int

getOriginalWidthCM()

public double getOriginalWidthCM()

Gets the original width of picture, in unit of centimeters.

Returns: double

getOriginalWidthInch()

public double getOriginalWidthInch()

Gets the original width of picture, in unit of inches.

Returns: double

getRelativeToOriginalPictureSize()

public boolean getRelativeToOriginalPictureSize()

Indicates whether shape is relative to original picture size.

Returns: boolean

getRight()

public int getRight()

Represents the width of the shape’s horizontal offset from its lower right corner column, in unit of pixels.

Returns: int

getRotationAngle()

public double getRotationAngle()

Gets the rotation of the shape.

Returns: double

getSourceFullName()

public String getSourceFullName()

Gets the path and name of the source file for the linked image.

Remarks

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.

Returns: java.lang.String

getText()

public String getText()

Represents the string in this TextBox object.

Returns: java.lang.String

getTitle()

public String getTitle()

Specifies the title (caption) of the current shape object.

Returns: java.lang.String

getTop()

public int getTop()

Represents the vertical offset of shape from its top row, in unit of pixels.

Remarks

If the shape is in the chart, represents the vertical offset of shape from its top border.

Returns: int

getTopCM()

public double getTopCM()

Represents the vertical offset of shape from its top row, in unit of centimeters.

Returns: double

getTopInch()

public double getTopInch()

Represents the vertical offset of shape from its top row, in unit of inches.

Returns: double

getTopToCorner()

public int getTopToCorner()

Represents the vertical offset of shape from worksheet top board, in unit of pixels.

Returns: int

getUpperDeltaX()

public int getUpperDeltaX()

Gets the shape’s horizontal offset from its upper left corner column. The range of value is 0 to 1024.

Returns: int

getUpperDeltaY()

public int getUpperDeltaY()

Gets the shape’s vertical offset from its upper left corner row. The range of value is 0 to 256.

Returns: int

getUpperLeftColumn()

public int getUpperLeftColumn()

Represents upper left corner column index.

Returns: int

getUpperLeftRow()

public int getUpperLeftRow()

Represents upper left corner row index.

Remarks

If the shape is in the shape or in the group , UpperLeftRow will be ignored.

Returns: int

getWidth()

public int getWidth()

Represents the width of shape, in unit of pixels.

Returns: int

getWidthCM()

public double getWidthCM()

Represents the width of the shape, in unit of centimeters.

Returns: double

getWidthInch()

public double getWidthInch()

Represents the width of the shape, in unit of inch.

Returns: double

getWidthPt()

public double getWidthPt()

Represents the width of the shape, in unit of point.

Returns: double

getWidthScale()

public int getWidthScale()

Gets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100;

Returns: int

getX()

public int getX()

Gets the horizonal offset of shape from worksheet left border,in unit of pixels.

Returns: int

getY()

public int getY()

Gets the vertical offset of shape from worksheet top border,in unit of pixels.

Returns: int

getZOrderPosition()

public int getZOrderPosition()

Returns the position of a shape in the z-order.

Returns: int

hasLine()

public boolean hasLine()

Gets the line border of the shape is visible.

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

isFlippedVertically()

public boolean isFlippedVertically()

Gets whether shape is vertically flipped .

Returns: boolean

isGroup()

public boolean isGroup()

Indicates whether the shape is a group.

Returns: boolean

isHidden()

public boolean isHidden()

Indicates whether the object is visible.

Returns: boolean

isLockAspectRatio()

public boolean isLockAspectRatio()

True means that don’t allow changes in aspect ratio.

Returns: boolean

isLocked()

public boolean isLocked()

True if the object is locked, False if the object can be modified when the sheet is protected.

Returns: boolean

isTextWrapped()

public boolean isTextWrapped()

Gets the text wrapped type of the shape which contains text.

Returns: boolean

move(int upperLeftRow, int upperLeftColumn)

public void move(int upperLeftRow, int upperLeftColumn)

Moves the picture to a specified location.

Parameters:

ParameterTypeDescription
upperLeftRowintUpper left row index.
upperLeftColumnintUpper left column index.

moveToRange(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)

public void moveToRange(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn)

Moves the shape to a specified range.

Parameters:

ParameterTypeDescription
upperLeftRowintUpper left row index.
upperLeftColumnintUpper left column index.
lowerRightRowintLower right row index
lowerRightColumnintLower right column index

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()
public void removeHyperlink()

Remove the hyperlink of the shape.

saveToImage(InputStream s)

public void saveToImage(InputStream s)

Creates the image and saves it to a stream .

Parameters:

ParameterTypeDescription
sjava.io.InputStream

setAlternativeText(String value)

public void setAlternativeText(String value)

Returns or sets the descriptive (alternative) text string of the GridShape object.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setBorderLineColor(Color value)

public void setBorderLineColor(Color value)

Represents the Color of the border line of a picture.

Parameters:

ParameterTypeDescription
valueColor

setBorderWeight(double value)

public void setBorderWeight(double value)

Sets the weight of the border line of a picture in units of pt.

Parameters:

ParameterTypeDescription
valuedouble

setBottom(int value)

public void setBottom(int value)

Represents the width of the shape’s vertical offset from its lower bottom corner row, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setData(byte[] value)

public void setData(byte[] value)

Gets the data of the picture.

Parameters:

ParameterTypeDescription
valuebyte[]

setFlippedVertically(boolean value)

public void setFlippedVertically(boolean value)

Sets whether shape is vertically flipped .

Parameters:

ParameterTypeDescription
valueboolean

setHasLine(boolean value)

public void setHasLine(boolean value)

Sets the line border of the shape is visible.

Parameters:

ParameterTypeDescription
valueboolean

setHeight(int value)

public void setHeight(int value)

Represents the height of shape, in unit of pixel.

Parameters:

ParameterTypeDescription
valueint

setHeightCM(double value)

public void setHeightCM(double value)

Represents the height of the shape, in unit of inches.

Parameters:

ParameterTypeDescription
valuedouble

setHeightInch(double value)

public void setHeightInch(double value)

Represents the height of the shape, in unit of inches.

Parameters:

ParameterTypeDescription
valuedouble

setHeightPt(double value)

public void setHeightPt(double value)

Represents the height of the shape, in unit of points.

Parameters:

ParameterTypeDescription
valuedouble

setHeightScale(int value)

public void setHeightScale(int value)

Sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100;

Parameters:

ParameterTypeDescription
valueint

setHidden(boolean value)

public void setHidden(boolean value)

Indicates whether the object is visible.

Parameters:

ParameterTypeDescription
valueboolean

setHtmlText(String value)

public void setHtmlText(String value)

Sets the html string which contains data and some formattings in this textbox.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setID(String value)

public void setID(String value)

Gets /Sets the ID of the picture.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLeft(int value)

public void setLeft(int value)

Represents the horizontal offset of shape from its left column, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setLeftCM(double value)

public void setLeftCM(double value)

Represents the horizontal offset of shape from its left column, in unit of centimeters.

Parameters:

ParameterTypeDescription
valuedouble

setLeftInch(double value)

public void setLeftInch(double value)

Represents the horizontal offset of shape from its left column, in unit of inches.

Parameters:

ParameterTypeDescription
valuedouble

setLeftToCorner(int value)

public void setLeftToCorner(int value)

Represents the horizontal offset of shape from worksheet left board, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setLinkedCell(String value)

public void setLinkedCell(String value)

Sets the worksheet range linked to the control’s value.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLockAspectRatio(boolean value)

public void setLockAspectRatio(boolean value)

True means that don’t allow changes in aspect ratio.

Parameters:

ParameterTypeDescription
valueboolean

setLocked(boolean value)

public void setLocked(boolean value)

True if the object is locked, False if the object can be modified when the sheet is protected.

Parameters:

ParameterTypeDescription
valueboolean

setLowerDeltaX(int value)

public void setLowerDeltaX(int value)

Sets the shape’s horizontal offset from its lower right corner column. The range of value is 0 to 1024.

Parameters:

ParameterTypeDescription
valueint

setLowerDeltaY(int value)

public void setLowerDeltaY(int value)

Sets the shape’s vertical offset from its lower right corner row. The range of value is 0 to 256.

Parameters:

ParameterTypeDescription
valueint

setLowerRightColumn(int value)

public void setLowerRightColumn(int value)

Represents lower right corner column index.

Parameters:

ParameterTypeDescription
valueint

setLowerRightRow(int value)

public void setLowerRightRow(int value)

Represents lower right corner row index.

Parameters:

ParameterTypeDescription
valueint

setName(String value)

public void setName(String value)

Sets the name of the shape.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setRelativeToOriginalPictureSize(boolean value)

public void setRelativeToOriginalPictureSize(boolean value)

Indicates whether shape is relative to original picture size.

Parameters:

ParameterTypeDescription
valueboolean

setRight(int value)

public void setRight(int value)

Represents the width of the shape’s horizontal offset from its lower right corner column, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setRotationAngle(double value)

public void setRotationAngle(double value)

Sets the rotation of the shape.

Parameters:

ParameterTypeDescription
valuedouble

setSourceFullName(String value)

public void setSourceFullName(String value)

Sets the path and name of the source file for the linked image.

Remarks

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setText(String value)

public void setText(String value)

Represents the string in this TextBox object.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTextWrapped(boolean value)

public void setTextWrapped(boolean value)

Sets the text wrapped type of the shape which contains text.

Parameters:

ParameterTypeDescription
valueboolean

setTitle(String value)

public void setTitle(String value)

Specifies the title (caption) of the current shape object.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTop(int value)

public void setTop(int value)

Represents the vertical offset of shape from its top row, in unit of pixels.

Remarks

If the shape is in the chart, represents the vertical offset of shape from its top border.

Parameters:

ParameterTypeDescription
valueint

setTopCM(double value)

public void setTopCM(double value)

Represents the vertical offset of shape from its top row, in unit of centimeters.

Parameters:

ParameterTypeDescription
valuedouble

setTopInch(double value)

public void setTopInch(double value)

Represents the vertical offset of shape from its top row, in unit of inches.

Parameters:

ParameterTypeDescription
valuedouble

setTopToCorner(int value)

public void setTopToCorner(int value)

Represents the vertical offset of shape from worksheet top board, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setUpperDeltaX(int value)

public void setUpperDeltaX(int value)

Sets the shape’s horizontal offset from its upper left corner column. The range of value is 0 to 1024.

Parameters:

ParameterTypeDescription
valueint

setUpperDeltaY(int value)

public void setUpperDeltaY(int value)

Sets the shape’s vertical offset from its upper left corner row. The range of value is 0 to 256.

Parameters:

ParameterTypeDescription
valueint

setUpperLeftColumn(int value)

public void setUpperLeftColumn(int value)

Represents upper left corner column index.

Parameters:

ParameterTypeDescription
valueint

setUpperLeftRow(int value)

public void setUpperLeftRow(int value)

Represents upper left corner row index.

Remarks

If the shape is in the shape or in the group , UpperLeftRow will be ignored.

Parameters:

ParameterTypeDescription
valueint

setWidth(int value)

public void setWidth(int value)

Represents the width of shape, in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setWidthCM(double value)

public void setWidthCM(double value)

Represents the width of the shape, in unit of centimeters.

Parameters:

ParameterTypeDescription
valuedouble

setWidthInch(double value)

public void setWidthInch(double value)

Represents the width of the shape, in unit of inch.

Parameters:

ParameterTypeDescription
valuedouble

setWidthPt(double value)

public void setWidthPt(double value)

Represents the width of the shape, in unit of point.

Parameters:

ParameterTypeDescription
valuedouble

setWidthScale(int value)

public void setWidthScale(int value)

Sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100;

Parameters:

ParameterTypeDescription
valueint

setX(int value)

public void setX(int value)

Sets the horizonal offset of shape from worksheet left border,in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setY(int value)

public void setY(int value)

Sets the vertical offset of shape from worksheet top border,in unit of pixels.

Parameters:

ParameterTypeDescription
valueint

setZOrderPosition(int value)

public void setZOrderPosition(int value)

Returns the position of a shape in the z-order.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int