GridShape

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.gridweb.IGridSave

public class GridShape implements IGridSave

Represents a shape object.

Methods

MethodDescription
equals(Object arg0)
getBuffer()Gets the Buffer of object.
getClass()
getID()
getLeft()Represents the horizontal offset of shape from its left column, in unit of pixels.
getLeftToCorner()Represents the horizontal offset of shape from worksheet left board, in unit of pixels.
getMsoDrawingType()Gets mso drawing type.
getName()Gets the name of the shape.
getText()Represents the string in this TextBox object.
getTop()Represents the vertical offset of shape from its top row, in unit of pixels.
getTopToCorner()Represents the vertical offset of shape from worksheet top board, in unit of pixels.
getUpperLeftColumn()Represents upper left corner column index.
getUpperLeftRow()Represents upper left corner row index.
getZOrderPosition()Returns the position of a shape in the z-order.
hashCode()
notify()
notifyAll()
saveToImage(InputStream s)Creates the image and saves it to a stream in the specified png format.
setID(String value)
setLeftToCorner(int value)Represents the horizontal offset of shape from worksheet left board, in unit of pixels.
setText(String value)Represents the string in this TextBox object.
setTopToCorner(int value)Represents the vertical offset of shape from worksheet top board, 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)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBuffer()

public byte[] getBuffer()

Gets the Buffer of object.

Returns: byte[]

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getID()

public String getID()

Returns: java.lang.String

getLeft()

public int getLeft()

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

Returns: int

getLeftToCorner()

public int getLeftToCorner()

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

Returns: int

getMsoDrawingType()

public int getMsoDrawingType()

Gets mso drawing type.

See GridMsoDrawingType.

Returns: int

getName()

public String getName()

Gets the name of the shape.

Returns: java.lang.String

getText()

public String getText()

Represents the string in this TextBox 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

getTopToCorner()

public int getTopToCorner()

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

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

getZOrderPosition()

public int getZOrderPosition()

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

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

saveToImage(InputStream s)

public void saveToImage(InputStream s)

Creates the image and saves it to a stream in the specified png format.

Parameters:

ParameterTypeDescription
sjava.io.InputStream

setID(String value)

public void setID(String value)

Parameters:

ParameterTypeDescription
valuejava.lang.String

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

setText(String value)

public void setText(String value)

Represents the string in this TextBox object.

Parameters:

ParameterTypeDescription
valuejava.lang.String

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

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