java.lang.ObjectShape
com.aspose.cells.CheckBox
public class CheckBox
Example:
//Instantiate a new Workbook.
Workbook excel = new Workbook();
int index = excel.getWorksheets().get(0).getCheckBoxes().add(15, 15, 20, 100);
CheckBox checkBox = excel.getWorksheets().get(0).getCheckBoxes().get(index);
checkBox.setText("Check Box 1");
//Save the excel file.
excel.save("checkBox.xlsx");
| Property Getters/Setters Summary | ||
|---|---|---|
ActiveXControl | getActiveXControl() | → inherited from Shape
|
| Gets the ActiveX control. | ||
int | getActualLowerRightRow() | → inherited from Shape
|
| Get the actual bottom row. | ||
java.lang.String | getAlternativeText() | → inherited from Shape
|
void | setAlternativeText(java.lang.String) | |
|
Returns or sets the descriptive (alternative) text string of the |
||
int | getAnchorType() | → inherited from Shape
|
void | setAnchorType(int) | |
| Gets and set the shape anchor placeholder. The value of the property is ShapeAnchorType integer constant. | ||
int | getAutoShapeType() | → inherited from Shape
|
void | setAutoShapeType(int) | |
| Gets and sets the auto shape type. The value of the property is AutoShapeType integer constant. | ||
int | getBottom() | → inherited from Shape
|
void | setBottom(int) | |
| Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. | ||
int | getCheckedValue() | |
void | setCheckedValue(int) | |
| Gets or set checkbox' value. The value of the property is CheckValueType integer constant. | ||
int | getCheckValue() | |
void | setCheckValue(int) | |
| Gets or set checkbox' value. The value of the property is CheckValueType integer constant. | ||
java.awt.geom.Point2D.Float[] | getConnectionPoints() | → inherited from Shape
|
| Get the connection points | ||
byte[] | getControlData() | → inherited from Shape
|
| Gets the data of control. | ||
java.util.UUID | getCreateId() | → inherited from Shape
|
| Gets and sets create id for this shape. | ||
FillFormat | getFill() | → inherited from Shape
|
|
Returns a |
||
MsoFillFormat | getFillFormat() | → inherited from Shape
|
| Returns a MsoFillFormat object that contains fill formatting properties for the specified shape. | ||
Font | getFont() | → inherited from Shape
|
void | setFont(Font) | |
| Represents the font of shape. | ||
ShapeFormat | getFormat() | → inherited from Shape
|
| Represents the setting of the shape's formatting. | ||
MsoFormatPicture | getFormatPicture() | → inherited from Shape
|
| Gets and sets the options of the picture format. | ||
Geometry | getGeometry() | → inherited from Shape
|
| Gets the geometry | ||
GlowEffect | getGlow() | → inherited from Shape
|
| Represents a object that specifies glow effect for the chart element or shape. | ||
GroupShape | getGroup() | → inherited from Shape
|
| Gets the group shape which contains this shape. | ||
boolean | hasLine() | → inherited from Shape
|
void | setHasLine(boolean) | |
| Gets and sets the line border of the shape is visible. | ||
int | getHeight() | → inherited from Shape
|
void | setHeight(int) | |
| Represents the height of shape, in unit of pixel. | ||
double | getHeightCM() | → inherited from Shape
|
void | setHeightCM(double) | |
| Represents the height of the shape, in unit of centimeters. | ||
double | getHeightInch() | → inherited from Shape
|
void | setHeightInch(double) | |
| Represents the height of the shape, in unit of inches. | ||
int | getHeightInChart() | → inherited from Shape
|
void | setHeightInChart(int) | |
| Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. | ||
int | getHeightInShape() | → inherited from Shape
|
void | setHeightInShape(int) | |
| Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. | ||
double | getHeightPt() | → inherited from Shape
|
void | setHeightPt(double) | |
| Represents the height of the shape, in unit of points. | ||
int | getHeightScale() | → inherited from Shape
|
void | setHeightScale(int) | |
| Gets and 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; | ||
java.lang.String | getHtmlText() | → inherited from Shape
|
void | setHtmlText(java.lang.String) | |
| Gets and sets the html string which contains data and some formats in this textbox. | ||
Hyperlink | getHyperlink() | → inherited from Shape
|
| Gets the hyperlink of the shape. | ||
int | getId() | → inherited from Shape
|
| Gets the identifier of this shape. | ||
java.lang.String | getInputRange() | → inherited from Shape
|
void | setInputRange(java.lang.String) | |
| Gets or sets the worksheet range used to fill the specified combo box. | ||
boolean | isEquation() | → inherited from Shape
|
| Indicates whether the shape only contains an equation. | ||
boolean | isFilled() | → inherited from Shape
|
void | setFilled(boolean) | |
| Indicates whether the fill format is visible. | ||
boolean | isFlippedHorizontally() | → inherited from Shape
|
void | setFlippedHorizontally(boolean) | |
| Gets and sets whether shape is horizontally flipped . | ||
boolean | isFlippedVertically() | → inherited from Shape
|
void | setFlippedVertically(boolean) | |
| Gets and sets whether shape is vertically flipped . | ||
boolean | isGroup() | → inherited from Shape
|
| Indicates whether the shape is a group. | ||
boolean | isHidden() | → inherited from Shape
|
void | setHidden(boolean) | |
| Indicates whether the object is visible. | ||
boolean | isInGroup() | → inherited from Shape
|
| Indicates whether the shape is grouped. | ||
boolean | isLockAspectRatio() | → inherited from Shape
|
void | setLockAspectRatio(boolean) | |
| True means that don't allow changes in aspect ratio. | ||
boolean | isLocked() | → inherited from Shape
|
void | setLocked(boolean) | |
| True if the object is locked, False if the object can be modified when the sheet is protected. | ||
boolean | isPrintable() | → inherited from Shape
|
void | setPrintable(boolean) | |
| True if the object is printable | ||
boolean | isRichText() | → inherited from Shape
|
| Whether or not the text is rich text. | ||
boolean | isSmartArt() | → inherited from Shape
|
| Indicates whether the shape is smart art. | ||
boolean | isTextWrapped() | → inherited from Shape
|
void | setTextWrapped(boolean) | |
| Gets and sets the text wrapped type of the shape which contains text. | ||
boolean | isWordArt() | → inherited from Shape
|
| Indicates whether this shape is a word art. | ||
int | getLeft() | → inherited from Shape
|
void | setLeft(int) | |
| Represents the horizontal offset of shape from its left column, in unit of pixels. | ||
double | getLeftCM() | → inherited from Shape
|
void | setLeftCM(double) | |
| Represents the horizontal offset of shape from its left column, in unit of centimeters. | ||
double | getLeftInch() | → inherited from Shape
|
void | setLeftInch(double) | |
| Represents the horizontal offset of shape from its left column, in unit of inches. | ||
int | getLeftInChart() | → inherited from Shape
|
void | setLeftInChart(int) | |
| Represents the vertical offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. | ||
int | getLeftInShape() | → inherited from Shape
|
void | setLeftInShape(int) | |
| Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. | ||
int | getLeftToCorner() | → inherited from Shape
|
void | setLeftToCorner(int) | |
| Gets and sets the horizonal offset of shape from worksheet left border. | ||
LineFormat | getLine() | → inherited from Shape
|
| Gets line style | ||
MsoLineFormat | getLineFormat() | → inherited from Shape
|
| Returns a MsoLineFormat object that contains line formatting properties for the specified shape. | ||
java.lang.String | getLinkedCell() | → inherited from Shape
|
void | setLinkedCell(java.lang.String) | |
| Gets or sets the worksheet range linked to the control's value. | ||
int | getLowerDeltaX() | → inherited from Shape
|
void | setLowerDeltaX(int) | |
| Gets or sets the shape's horizontal offset from its lower right corner column. | ||
int | getLowerDeltaY() | → inherited from Shape
|
void | setLowerDeltaY(int) | |
| Gets or sets the shape's vertical offset from its lower right corner row. | ||
int | getLowerRightColumn() | → inherited from Shape
|
void | setLowerRightColumn(int) | |
| Represents lower right corner column index. | ||
int | getLowerRightRow() | → inherited from Shape
|
void | setLowerRightRow(int) | |
| Represents lower right corner row index. | ||
java.lang.String | getMacroName() | → inherited from Shape
|
void | setMacroName(java.lang.String) | |
| Gets and sets the name of macro. | ||
int | getMsoDrawingType() | → inherited from Shape
|
| Gets mso drawing type. The value of the property is MsoDrawingType integer constant. | ||
java.lang.String | getName() | → inherited from Shape
|
void | setName(java.lang.String) | |
| Gets and sets the name of the shape. | ||
ShapePathCollection | getPaths() | → inherited from Shape
|
| Gets the paths of a custom geometric shape. | ||
int | getPlacement() | → inherited from Shape
|
void | setPlacement(int) | |
| Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant. | ||
int | getPositionX() | → inherited from Shape
|
void | setPositionX(int) | |
| Gets and sets the horizonal offset of shape from worksheet left border,in unit of pixels. | ||
int | getPositionY() | → inherited from Shape
|
void | setPositionY(int) | |
| Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels. | ||
ReflectionEffect | getReflection() | → inherited from Shape
|
| Represents a object that specifies reflection effect for the chart element or shape. | ||
boolean | getRelativeToOriginalPictureSize() | → inherited from Shape
|
void | setRelativeToOriginalPictureSize(boolean) | |
| Indicates whether shape is relative to original picture size. | ||
int | getRight() | → inherited from Shape
|
void | setRight(int) | |
| Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. | ||
double | getRotationAngle() | → inherited from Shape
|
void | setRotationAngle(double) | |
| Gets and sets the rotation of the shape. | ||
boolean | getShadow() | |
void | setShadow(boolean) | |
| Indicates whether the combobox has 3-D shading. | ||
ShadowEffect | getShadowEffect() | → inherited from Shape
|
| Represents a object that specifies shadow effect for the chart element or shape. | ||
double | getSoftEdges() | → inherited from Shape
|
void | setSoftEdges(double) | |
| Gets and sets the radius of blur to apply to the edges, in unit of points. | ||
java.lang.String | getSpid() | → inherited from Shape
|
| Specifies an optional string that an application can use to Identify the particular shape. | ||
int | getSpt() | → inherited from Shape
|
| Specifies an optional number that an application can use to associate the particular shape with a defined shape type. | ||
java.lang.String | getText() | → inherited from Shape
|
void | setText(java.lang.String) | |
| Represents the string in this TextBox object. | ||
FontSettingCollection | getTextBody() | → inherited from Shape
|
| Gets and sets the setting of the shape's text. | ||
int | getTextDirection() | → inherited from Shape
|
void | setTextDirection(int) | |
| Gets/Sets the direction of the text flow for this object. The value of the property is TextDirectionType integer constant. | ||
TextEffectFormat | getTextEffect() | → inherited from Shape
|
| Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Applies to Shape objects that represent WordArt. | ||
MsoTextFrame | getTextFrame() | → inherited from Shape
|
| Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape. | ||
int | getTextHorizontalAlignment() | → inherited from Shape
|
void | setTextHorizontalAlignment(int) | |
| Gets and sets the text horizontal alignment type of the shape. The value of the property is TextAlignmentType integer constant. | ||
int | getTextHorizontalOverflow() | → inherited from Shape
|
void | setTextHorizontalOverflow(int) | |
| Gets and sets the text horizontal overflow type of the shape which contains text. The value of the property is TextOverflowType integer constant. | ||
TextOptions | getTextOptions() | → inherited from Shape
|
void | setTextOptions(TextOptions) | |
| Represents the text options of the shape. | ||
int | getTextOrientationType() | → inherited from Shape
|
void | setTextOrientationType(int) | |
| Gets and sets the text orientation type of the shape. The value of the property is TextOrientationType integer constant. | ||
int | getTextShapeType() | → inherited from Shape
|
void | setTextShapeType(int) | |
| Gets and sets the preset text shape type. The value of the property is AutoShapeType integer constant. | ||
int | getTextVerticalAlignment() | → inherited from Shape
|
void | setTextVerticalAlignment(int) | |
| Gets and sets the text vertical alignment type of the shape. The value of the property is TextAlignmentType integer constant. | ||
int | getTextVerticalOverflow() | → inherited from Shape
|
void | setTextVerticalOverflow(int) | |
| Gets and sets the text vertical overflow type of the shape which contains text. The value of the property is TextOverflowType integer constant. | ||
ThreeDFormat | getThreeDFormat() | → inherited from Shape
|
| Gets and sets 3d format of the shape. | ||
java.lang.String | getTitle() | → inherited from Shape
|
void | setTitle(java.lang.String) | |
| Specifies the title (caption) of the current shape object. | ||
int | getTop() | → inherited from Shape
|
void | setTop(int) | |
| Represents the vertical offset of shape from its top row, in unit of pixels. | ||
double | getTopCM() | → inherited from Shape
|
void | setTopCM(double) | |
| Represents the vertical offset of shape from its top row, in unit of centimeters. | ||
double | getTopInch() | → inherited from Shape
|
void | setTopInch(double) | |
| Represents the vertical offset of shape from its top row, in unit of inches. | ||
int | getTopInChart() | → inherited from Shape
|
void | setTopInChart(int) | |
| Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. | ||
int | getTopInShape() | → inherited from Shape
|
void | setTopInShape(int) | |
| Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. | ||
int | getTopToCorner() | → inherited from Shape
|
void | setTopToCorner(int) | |
| Gets and sets the vertical offset of shape from worksheet top border, in unit of pixels. | ||
int | getType() | → inherited from Shape
|
| Gets the auto shape type. The value of the property is AutoShapeType integer constant. | ||
int | getUpperDeltaX() | → inherited from Shape
|
void | setUpperDeltaX(int) | |
| Gets or sets the shape's horizontal offset from its upper left corner column. | ||
int | getUpperDeltaY() | → inherited from Shape
|
void | setUpperDeltaY(int) | |
| Gets or sets the shape's vertical offset from its upper left corner row. | ||
int | getUpperLeftColumn() | → inherited from Shape
|
void | setUpperLeftColumn(int) | |
| Represents upper left corner column index. | ||
int | getUpperLeftRow() | → inherited from Shape
|
void | setUpperLeftRow(int) | |
| Represents upper left corner row index. | ||
boolean | getValue() | |
void | setValue(boolean) | |
| Indicates if the checkbox is checked or not. | ||
int | getWidth() | → inherited from Shape
|
void | setWidth(int) | |
| Represents the width of shape, in unit of pixels. | ||
double | getWidthCM() | → inherited from Shape
|
void | setWidthCM(double) | |
| Represents the width of the shape, in unit of centimeters. | ||
double | getWidthInch() | → inherited from Shape
|
void | setWidthInch(double) | |
| Represents the width of the shape, in unit of inch. | ||
int | getWidthInChart() | → inherited from Shape
|
void | setWidthInChart(int) | |
| Represents the width of the shape, in unit of 1/4000 of the parent shape. | ||
int | getWidthInShape() | → inherited from Shape
|
void | setWidthInShape(int) | |
| Represents the width of the shape, in unit of 1/4000 of the parent shape. | ||
double | getWidthPt() | → inherited from Shape
|
void | setWidthPt(double) | |
| Represents the width of the shape, in unit of point. | ||
int | getWidthScale() | → inherited from Shape
|
void | setWidthScale(int) | |
| Gets and 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; | ||
Worksheet | getWorksheet() | → inherited from Shape
|
|
Gets the |
||
int | getX() | → inherited from Shape
|
void | setX(int) | |
| Gets and sets the horizontal offset of shape from worksheet left border,in unit of pixels. | ||
int | getY() | → inherited from Shape
|
void | setY(int) | |
| Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels. | ||
int | getZOrderPosition() | → inherited from Shape
|
void | setZOrderPosition(int) | |
| Returns the position of a shape in the z-order. | ||
| Method Summary | ||
|---|---|---|
Hyperlink | addHyperlink(java.lang.String address) | → inherited from Shape
|
| Adds a hyperlink to the shape. | ||
void | alignTopRightCorner(int topRow, int rightColumn) | → inherited from Shape
|
| Moves the picture to the top-right corner. | ||
int[] | calculateTextSize() | → inherited from Shape
|
| Recalculate the text area | ||
FontSetting | characters(int startIndex, int length) | → inherited from Shape
|
| Returns a Characters object that represents a range of characters within the text. | ||
void | formatCharacters(int startIndex, int length, Font font) | → inherited from Shape
|
| Formats some characters with the font setting. | ||
void | formatCharacters(int startIndex, int length, Font font, StyleFlag flag) | → inherited from Shape
|
| Formats some characters with the font setting. | ||
java.util.ArrayList | getCharacters() | → inherited from Shape
|
| Returns all Characters objects that represents a range of characters within the text . | ||
float[][] | getConnectionPoints() | → inherited from Shape
|
| Get the connection points | ||
java.lang.String | getInputRange(boolean isR1C1, boolean isLocal) | → inherited from Shape
|
| Gets the range used to fill the control. | ||
java.lang.String | getLinkedCell(boolean isR1C1, boolean isLocal) | → inherited from Shape
|
| Gets the range linked to the control's value. | ||
boolean | getLockedProperty(int type) | → inherited from Shape
|
| Gets the value of locked property. | ||
GroupShape | getResultOfSmartArt() | → inherited from Shape
|
| Converting smart art to grouped shapes. | ||
boolean | isSameSetting(java.lang.Object obj) | → inherited from Shape
|
| Returns whether the shape is same. | ||
void | moveToRange(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn) | → inherited from Shape
|
| Moves the shape to a specified range. | ||
void | removeActiveXControl() | → inherited from Shape
|
| Remove activeX control. | ||
void | removeHyperlink() | → inherited from Shape
|
| Remove the hyperlink of the shape. | ||
void | setInputRange(java.lang.String formula, boolean isR1C1, boolean isLocal) | → inherited from Shape
|
| Sets the range used to fill the control. | ||
void | setLinkedCell(java.lang.String formula, boolean isR1C1, boolean isLocal) | → inherited from Shape
|
| Sets the range linked to the control's value. | ||
void | setLockedProperty(int type, boolean value) | → inherited from Shape
|
| Set the locked property. | ||
void | toFrontOrBack(int orders) | → inherited from Shape
|
| Brings the shape to the front or sends the shape to back. | ||
void | toImage(java.io.OutputStream stream, ImageFormat imageFormat) | → inherited from Shape
|
| Creates the shape image and saves it to a stream in the specified format. | ||
void | toImage(java.io.OutputStream stream, ImageOrPrintOptions options) | → inherited from Shape
|
| Saves the shape to a stream. | ||
void | toImage(java.lang.String imageFile, ImageOrPrintOptions options) | → inherited from Shape
|
| Saves the shape to a file. | ||
void | updateSelectedValue() | → inherited from Shape
|
| Update the selected value by the value of the linked cell. | ||
| Property Getters/Setters Detail |
|---|
getValue/setValue | |
public boolean getValue() / public void setValue(boolean value) | |
getCheckValue/setCheckValue | |
public int getCheckValue() / public void setCheckValue(int value) | |
getCheckedValue/setCheckedValue | |
public int getCheckedValue() / public void setCheckedValue(int value) | |
getShadow/setShadow | |
public boolean getShadow() / public void setShadow(boolean value) | |
getMacroName/setMacroName | → inherited from Shape
|
public java.lang.String getMacroName() / public void setMacroName(java.lang.String value) | |
Example:
//Sets the name of macro.
shape.setMacroName("DoWork()");isEquation | → inherited from Shape
|
public boolean isEquation() | |
Example:
//If true,the shape only contains an equation.
if(shape.isEquation())
{
//The shape contains only an equation
}isSmartArt | → inherited from Shape
|
public boolean isSmartArt() | |
Example:
//if true,the shape is smart art.
if(shape.isSmartArt())
{
//The shape is SmartArt object.
}getZOrderPosition/setZOrderPosition | → inherited from Shape
|
public int getZOrderPosition() / public void setZOrderPosition(int value) | |
Example:
shape.setZOrderPosition(3);
getName/setName | → inherited from Shape
|
public java.lang.String getName() / public void setName(java.lang.String value) | |
Example:
shape.setName("shape1");getAlternativeText/setAlternativeText | → inherited from Shape
|
public java.lang.String getAlternativeText() / public void setAlternativeText(java.lang.String value) | |
Example:
shape.setAlternativeText("a rectangle");getTitle/setTitle | → inherited from Shape
|
public java.lang.String getTitle() / public void setTitle(java.lang.String value) | |
Example:
shape.setTitle("title1");getLineFormat | → inherited from Shape
|
public MsoLineFormat getLineFormat() | |
getFillFormat | → inherited from Shape
|
public MsoFillFormat getFillFormat() | |
getFormat | → inherited from Shape
|
public ShapeFormat getFormat() | |
getLine | → inherited from Shape
|
public LineFormat getLine() | |
Example:
LineFormat lineFmt = shape.getLine();
getFill | → inherited from Shape
|
public FillFormat getFill() | |
Example:
FillFormat fillFmt = shape.getFill();
getShadowEffect | → inherited from Shape
|
public ShadowEffect getShadowEffect() | |
Example:
ShadowEffect shadowEffect = shape.getShadowEffect();
getReflection | → inherited from Shape
|
public ReflectionEffect getReflection() | |
Example:
ReflectionEffect reflectionEffect = shape.getReflection();
getGlow | → inherited from Shape
|
public GlowEffect getGlow() | |
Example:
GlowEffect glowEffect = shape.getGlow();
getSoftEdges/setSoftEdges | → inherited from Shape
|
public double getSoftEdges() / public void setSoftEdges(double value) | |
Example:
shape.setSoftEdges(0.5d);
getThreeDFormat | → inherited from Shape
|
public ThreeDFormat getThreeDFormat() | |
Example:
ThreeDFormat threeDFormat = shape.getThreeDFormat();
getTextFrame | → inherited from Shape
|
public MsoTextFrame getTextFrame() | |
getFormatPicture | → inherited from Shape
|
public MsoFormatPicture getFormatPicture() | |
Example:
MsoFormatPicture msoFormatPicture = shape.getFormatPicture();
isHidden/setHidden | → inherited from Shape
|
public boolean isHidden() / public void setHidden(boolean value) | |
Example:
shape.setHidden(false);
isLockAspectRatio/setLockAspectRatio | → inherited from Shape
|
public boolean isLockAspectRatio() / public void setLockAspectRatio(boolean value) | |
Example:
shape.setLockAspectRatio(false);
getRotationAngle/setRotationAngle | → inherited from Shape
|
public double getRotationAngle() / public void setRotationAngle(double value) | |
Example:
if(shape.getRotationAngle() == 45)
shape.setRotationAngle(60);getHyperlink | → inherited from Shape
|
public Hyperlink getHyperlink() | |
Example:
Hyperlink hyperlink = shape.getHyperlink();
getId | → inherited from Shape
|
public int getId() | |
Example:
int id = shape.getId();
getSpid | → inherited from Shape
|
public java.lang.String getSpid() | |
Example:
String spid = shape.getSpid();
getSpt | → inherited from Shape
|
public int getSpt() | |
Example:
int spt = shape.getSpt();
getWorksheet | → inherited from Shape
|
public Worksheet getWorksheet() | |
Example:
Worksheet worksheet = shape.getWorksheet();
isGroup | → inherited from Shape
|
public boolean isGroup() | |
Example:
if(shape.isGroup())
{
//This shape is a group.
}isInGroup | → inherited from Shape
|
public boolean isInGroup() | |
isWordArt | → inherited from Shape
|
public boolean isWordArt() | |
Example:
if(shape.isWordArt())
{
//This shape is a WordArt object.
}getTextEffect | → inherited from Shape
|
public TextEffectFormat getTextEffect() | |
Example:
TextEffectFormat textEffectFormat = shape.getTextEffect();
isLocked/setLocked | → inherited from Shape
|
public boolean isLocked() / public void setLocked(boolean value) | |
Example:
if(shape.isLocked())
shape.setLocked(false);isPrintable/setPrintable | → inherited from Shape
|
public boolean isPrintable() / public void setPrintable(boolean value) | |
Example:
if(shape.isPrintable())
shape.setPrintable(false);getMsoDrawingType | → inherited from Shape
|
public int getMsoDrawingType() | |
Example:
/*Aspose.Cells.Drawing.MsoDrawingType*/int msoDrawingType = shape.getMsoDrawingType();
getAutoShapeType/setAutoShapeType | → inherited from Shape
|
public int getAutoShapeType() / public void setAutoShapeType(int value) | |
Example:
if (shape.getAutoShapeType() == com.aspose.cells.AutoShapeType.UNKNOWN)
shape.setAutoShapeType(com.aspose.cells.AutoShapeType.RECTANGLE);getAnchorType/setAnchorType | → inherited from Shape
|
public int getAnchorType() / public void setAnchorType(int value) | |
Example:
if (shape.getAnchorType() == ShapeAnchorType.ONE_CELL_ANCHOR)
shape.setAnchorType(ShapeAnchorType.TWO_CELL_ANCHOR);getPlacement/setPlacement | → inherited from Shape
|
public int getPlacement() / public void setPlacement(int value) | |
Example:
if (shape.getPlacement() == PlacementType.MOVE)
shape.setPlacement(PlacementType.MOVE_AND_SIZE);getUpperLeftRow/setUpperLeftRow | → inherited from Shape
|
public int getUpperLeftRow() / public void setUpperLeftRow(int value) | |
Example:
if (shape.getUpperLeftRow() == 3)
shape.setUpperLeftRow(1);getUpperDeltaY/setUpperDeltaY | → inherited from Shape
|
public int getUpperDeltaY() / public void setUpperDeltaY(int value) | |
Example:
if (shape.getUpperDeltaY() == 3)
shape.setUpperDeltaY(1);getUpperLeftColumn/setUpperLeftColumn | → inherited from Shape
|
public int getUpperLeftColumn() / public void setUpperLeftColumn(int value) | |
Example:
if (shape.getUpperLeftColumn() == 3)
shape.setUpperLeftColumn(1);getUpperDeltaX/setUpperDeltaX | → inherited from Shape
|
public int getUpperDeltaX() / public void setUpperDeltaX(int value) | |
Example:
if (shape.getUpperDeltaX() == 3)
shape.setUpperDeltaX(1);getLowerRightRow/setLowerRightRow | → inherited from Shape
|
public int getLowerRightRow() / public void setLowerRightRow(int value) | |
Example:
if (shape.getLowerRightRow() == 3)
shape.setLowerRightRow(1);getLowerDeltaY/setLowerDeltaY | → inherited from Shape
|
public int getLowerDeltaY() / public void setLowerDeltaY(int value) | |
Example:
if (shape.getLowerDeltaY() == 3)
shape.setLowerDeltaY(1);getLowerRightColumn/setLowerRightColumn | → inherited from Shape
|
public int getLowerRightColumn() / public void setLowerRightColumn(int value) | |
Example:
if (shape.getLowerRightColumn() == 3)
shape.setLowerRightColumn(1);getLowerDeltaX/setLowerDeltaX | → inherited from Shape
|
public int getLowerDeltaX() / public void setLowerDeltaX(int value) | |
Example:
if (shape.getLowerDeltaX() == 3)
shape.setLowerDeltaX(1);getRight/setRight | → inherited from Shape
|
public int getRight() / public void setRight(int value) | |
Example:
if (shape.getRight() == 3)
shape.setRight(1);getBottom/setBottom | → inherited from Shape
|
public int getBottom() / public void setBottom(int value) | |
Example:
if (shape.getBottom() == 3)
shape.setBottom(1);getWidth/setWidth | → inherited from Shape
|
public int getWidth() / public void setWidth(int value) | |
Example:
if (shape.getWidth() == 3)
shape.setWidth(1);getWidthInch/setWidthInch | → inherited from Shape
|
public double getWidthInch() / public void setWidthInch(double value) | |
Example:
if (shape.getWidthInch() == 3)
shape.setWidthInch(1);getWidthPt/setWidthPt | → inherited from Shape
|
public double getWidthPt() / public void setWidthPt(double value) | |
Example:
if (shape.getWidthPt() == 3)
shape.setWidthPt(1);getWidthCM/setWidthCM | → inherited from Shape
|
public double getWidthCM() / public void setWidthCM(double value) | |
Example:
if (shape.getWidthCM() == 3)
shape.setWidthCM(1);getHeight/setHeight | → inherited from Shape
|
public int getHeight() / public void setHeight(int value) | |
Example:
if (shape.getHeight() == 3)
shape.setHeight(1);getHeightInch/setHeightInch | → inherited from Shape
|
public double getHeightInch() / public void setHeightInch(double value) | |
Example:
if (shape.getHeightInch() == 3)
shape.setHeightInch(1);getHeightPt/setHeightPt | → inherited from Shape
|
public double getHeightPt() / public void setHeightPt(double value) | |
Example:
if (shape.getHeightPt() == 3)
shape.setHeightPt(1);getHeightCM/setHeightCM | → inherited from Shape
|
public double getHeightCM() / public void setHeightCM(double value) | |
Example:
if (shape.getHeightCM() == 3)
shape.setHeightCM(1);getLeft/setLeft | → inherited from Shape
|
public int getLeft() / public void setLeft(int value) | |
Example:
if (shape.getLeft() == 3)
shape.setLeft(1);getLeftInch/setLeftInch | → inherited from Shape
|
public double getLeftInch() / public void setLeftInch(double value) | |
Example:
if (shape.getLeftInch() == 3)
shape.setLeftInch(1);getLeftCM/setLeftCM | → inherited from Shape
|
public double getLeftCM() / public void setLeftCM(double value) | |
Example:
if (shape.getLeftCM() == 3)
shape.setLeftCM(1);getTop/setTop | → inherited from Shape
|
public int getTop() / public void setTop(int value) | |
Example:
if (shape.getTop() == 3)
shape.setTop(1);getTopInch/setTopInch | → inherited from Shape
|
public double getTopInch() / public void setTopInch(double value) | |
Example:
if (shape.getTopInch() == 3)
shape.setTopInch(1);getTopCM/setTopCM | → inherited from Shape
|
public double getTopCM() / public void setTopCM(double value) | |
Example:
if (shape.getTopCM() == 3)
shape.setTopCM(1);getTopToCorner/setTopToCorner | → inherited from Shape
|
public int getTopToCorner() / public void setTopToCorner(int value) | |
Example:
if (shape.getTopToCorner() == 3)
shape.setTopToCorner(1);getLeftToCorner/setLeftToCorner | → inherited from Shape
|
public int getLeftToCorner() / public void setLeftToCorner(int value) | |
Example:
if (shape.getLeftToCorner() == 3)
shape.setLeftToCorner(1);getX/setX | → inherited from Shape
|
public int getX() / public void setX(int value) | |
Example:
if (shape.getX() == 3)
shape.setX(1);getY/setY | → inherited from Shape
|
public int getY() / public void setY(int value) | |
Example:
if (shape.getY() == 3)
shape.setY(1);getWidthScale/setWidthScale | → inherited from Shape
|
public int getWidthScale() / public void setWidthScale(int value) | |
Example:
if (shape.getWidthScale() == 3)
shape.setWidthScale(1);getHeightScale/setHeightScale | → inherited from Shape
|
public int getHeightScale() / public void setHeightScale(int value) | |
Example:
if (shape.getHeightScale() == 3)
shape.setHeightScale(1);getTopInShape/setTopInShape | → inherited from Shape
|
public int getTopInShape() / public void setTopInShape(int value) | |
Example:
if (shape.getTopInShape() == 8000)
shape.setTopInShape(4000);getLeftInShape/setLeftInShape | → inherited from Shape
|
public int getLeftInShape() / public void setLeftInShape(int value) | |
Example:
if (shape.getUpperDeltaY() == 2000)
shape.setUpperDeltaY(4000);getWidthInShape/setWidthInShape | → inherited from Shape
|
public int getWidthInShape() / public void setWidthInShape(int value) | |
Example:
if (shape.getUpperDeltaY() == 2000)
shape.setUpperDeltaY(4000);getHeightInShape/setHeightInShape | → inherited from Shape
|
public int getHeightInShape() / public void setHeightInShape(int value) | |
Example:
if (shape.getUpperDeltaY() == 4000)
shape.setUpperDeltaY(2000);getHeightInChart/setHeightInChart | → inherited from Shape
|
public int getHeightInChart() / public void setHeightInChart(int value) | |
getLeftInChart/setLeftInChart | → inherited from Shape
|
public int getLeftInChart() / public void setLeftInChart(int value) | |
getTopInChart/setTopInChart | → inherited from Shape
|
public int getTopInChart() / public void setTopInChart(int value) | |
getWidthInChart/setWidthInChart | → inherited from Shape
|
public int getWidthInChart() / public void setWidthInChart(int value) | |
getPositionX/setPositionX | → inherited from Shape
|
public int getPositionX() / public void setPositionX(int value) | |
getPositionY/setPositionY | → inherited from Shape
|
public int getPositionY() / public void setPositionY(int value) | |
getGroup | → inherited from Shape
|
public GroupShape getGroup() | |
Example:
GroupShape groupShape = shape.getGroup();
getType | → inherited from Shape
|
public int getType() | |
Example:
/*Aspose.Cells.Drawing.AutoShapeType*/int autoShapeType = shape.getType();
hasLine/setHasLine | → inherited from Shape
|
public boolean hasLine() / public void setHasLine(boolean value) | |
Example:
if(shape.hasLine() == false)
shape.setHasLine(true);isFilled/setFilled | → inherited from Shape
|
public boolean isFilled() / public void setFilled(boolean value) | |
Example:
if(shape.isFilled() == false)
shape.setFilled(true);isFlippedHorizontally/setFlippedHorizontally | → inherited from Shape
|
public boolean isFlippedHorizontally() / public void setFlippedHorizontally(boolean value) | |
Example:
if(shape.isFlippedHorizontally() == false)
shape.setFlippedHorizontally(true);isFlippedVertically/setFlippedVertically | → inherited from Shape
|
public boolean isFlippedVertically() / public void setFlippedVertically(boolean value) | |
Example:
if(shape.isFlippedVertically() == false)
shape.setFlippedVertically(true);getActualLowerRightRow | → inherited from Shape
|
public int getActualLowerRightRow() | |
Example:
int rRow = shape.getActualLowerRightRow();
getConnectionPoints | → inherited from Shape
|
public java.awt.geom.Point2D.Float[] getConnectionPoints() | |
getRelativeToOriginalPictureSize/setRelativeToOriginalPictureSize | → inherited from Shape
|
public boolean getRelativeToOriginalPictureSize() / public void setRelativeToOriginalPictureSize(boolean value) | |
Example:
if(shape.getRelativeToOriginalPictureSize())
shape.setRelativeToOriginalPictureSize(false);getLinkedCell/setLinkedCell | → inherited from Shape
|
public java.lang.String getLinkedCell() / public void setLinkedCell(java.lang.String value) | |
Example:
if (shape.getLinkedCell().equals("$B$6"))
shape.setLinkedCell("A1");getInputRange/setInputRange | → inherited from Shape
|
public java.lang.String getInputRange() / public void setInputRange(java.lang.String value) | |
Example:
if (shape.getInputRange().equals("$B$6:$B10"))
shape.setInputRange("$A$1:$A$5");getTextShapeType/setTextShapeType | → inherited from Shape
|
public int getTextShapeType() / public void setTextShapeType(int value) | |
Example:
if (shape.getTextShapeType() == com.aspose.cells.AutoShapeType.UNKNOWN)
shape.setTextShapeType(com.aspose.cells.AutoShapeType.RECTANGLE);getTextBody | → inherited from Shape
|
public FontSettingCollection getTextBody() | |
Example:
FontSettingCollection fontSettingCollection = shape.getTextBody();
fontSettingCollection.setText("This is a test.");getFont/setFont | → inherited from Shape
|
public Font getFont() / public void setFont(Font value) | |
Example:
Font font = shape.getFont();
font.setName("Arial");
font.setSize(12);
font.setColor(Color.getRed());getTextOptions/setTextOptions | → inherited from Shape
|
public TextOptions getTextOptions() / public void setTextOptions(TextOptions value) | |
Example:
TextOptions opt = shape.getTextOptions(); opt.setColor(Color.getBlue()); opt.setSize(8);
getText/setText | → inherited from Shape
|
public java.lang.String getText() / public void setText(java.lang.String value) | |
Example:
if(shape.getText() == null)
shape.setText("This is a test.");isRichText | → inherited from Shape
|
public boolean isRichText() | |
Example:
if(shape.isRichText())
System.out.println("The text is rich text.");getHtmlText/setHtmlText | → inherited from Shape
|
public java.lang.String getHtmlText() / public void setHtmlText(java.lang.String value) | |
Example:
String html = shape.getHtmlText();
if(html == null || "".equals(html))
{
shape.setHtmlText("<Font Style='FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #0000ff;TEXT-ALIGN: left;'>This is a <b>test</b>.</Font>");
}getTextVerticalOverflow/setTextVerticalOverflow | → inherited from Shape
|
public int getTextVerticalOverflow() / public void setTextVerticalOverflow(int value) | |
Example:
if (shape.getTextVerticalOverflow() == com.aspose.cells.TextOverflowType.CLIP)
shape.setTextVerticalOverflow(com.aspose.cells.TextOverflowType.OVERFLOW);getTextHorizontalOverflow/setTextHorizontalOverflow | → inherited from Shape
|
public int getTextHorizontalOverflow() / public void setTextHorizontalOverflow(int value) | |
Example:
if (shape.getTextHorizontalOverflow() == com.aspose.cells.TextOverflowType.CLIP)
shape.setTextHorizontalOverflow(com.aspose.cells.TextOverflowType.OVERFLOW);isTextWrapped/setTextWrapped | → inherited from Shape
|
public boolean isTextWrapped() / public void setTextWrapped(boolean value) | |
Example:
if (shape.isTextWrapped())
shape.setTextWrapped(!shape.isTextWrapped());getTextOrientationType/setTextOrientationType | → inherited from Shape
|
public int getTextOrientationType() / public void setTextOrientationType(int value) | |
Example:
if (shape.getTextOrientationType() == com.aspose.cells.TextOrientationType.NO_ROTATION)
shape.setTextOrientationType(com.aspose.cells.TextOrientationType.TOP_TO_BOTTOM);getTextHorizontalAlignment/setTextHorizontalAlignment | → inherited from Shape
|
public int getTextHorizontalAlignment() / public void setTextHorizontalAlignment(int value) | |
Example:
if (shape.getTextHorizontalAlignment() == com.aspose.cells.TextAlignmentType.BOTTOM)
shape.setTextHorizontalAlignment(com.aspose.cells.TextAlignmentType.CENTER);getTextVerticalAlignment/setTextVerticalAlignment | → inherited from Shape
|
public int getTextVerticalAlignment() / public void setTextVerticalAlignment(int value) | |
Example:
if (shape.getTextVerticalAlignment() == com.aspose.cells.TextAlignmentType.BOTTOM)
shape.setTextVerticalAlignment(com.aspose.cells.TextAlignmentType.CENTER);getTextDirection/setTextDirection | → inherited from Shape
|
public int getTextDirection() / public void setTextDirection(int value) | |
Example:
if (shape.getTextDirection() == com.aspose.cells.TextDirectionType.CONTEXT)
shape.setTextDirection(com.aspose.cells.TextDirectionType.LEFT_TO_RIGHT);getControlData | → inherited from Shape
|
public byte[] getControlData() | |
Example:
if(shape.getControlData() == null)
System.out.println("No data.");getActiveXControl | → inherited from Shape
|
public ActiveXControl getActiveXControl() | |
Example:
CheckBoxActiveXControl checkBox1 = (CheckBoxActiveXControl)shape.getActiveXControl(); //The font name of CheckBox String fontName = checkBox1.getFont().getName();
getPaths | → inherited from Shape
|
public ShapePathCollection getPaths() | |
Example:
//Returns non-null if there is a path to the custom geometry
if(shape.getPaths() == null)
System.out.println("No custom geometry path.");getGeometry | → inherited from Shape
|
public Geometry getGeometry() | |
Example:
if (shape.getGeometry().getShapeAdjustValues().getCount() == 0)
System.out.println("No geometry path.");getCreateId | → inherited from Shape
|
public java.util.UUID getCreateId() | |
| Method Detail |
|---|
getLinkedCell | → inherited from Shape
|
public java.lang.String getLinkedCell(boolean isR1C1, boolean isLocal) | |
isR1C1 - Whether the formula needs to be formatted as R1C1.isLocal - Whether the formula needs to be formatted by locale.Example:
//You may get results like '$A$1' String link = shape.getLinkedCell(false, false);
setLinkedCell | → inherited from Shape
|
public void setLinkedCell(java.lang.String formula, boolean isR1C1, boolean isLocal) | |
formula - The range linked to the control's value.isR1C1 - Whether the formula needs to be formatted as R1C1.isLocal - Whether the formula needs to be formatted by locale.Example:
//After executing the code below, a ScrollBar object is created in the generated file. As you drag the slider, the value is displayed in cell A12.
//ActiveX Controls
//Aspose.Cells.Drawing.Shape scrollBar = book.Worksheets[0].Shapes.AddActiveXControl( Aspose.Cells.Drawing.ActiveXControls.ControlType.ScrollBar,2, 0, 2, 0, 30, 130);
//Form Controls
Shape scrollBar = book.getWorksheets().get(0).getShapes().addScrollBar(2, 0, 2, 0, 130, 30);
//Sets the range linked to the control's value.
scrollBar.setLinkedCell("$A$12", false, true);getInputRange | → inherited from Shape
|
public java.lang.String getInputRange(boolean isR1C1, boolean isLocal) | |
isR1C1 - Whether the formula needs to be formatted as R1C1.isLocal - Whether the formula needs to be formatted by locale.Example:
String range = shape.getInputRange(false, true); //If successful, a value like "$A$1:$A$3" will be returned
setInputRange | → inherited from Shape
|
public void setInputRange(java.lang.String formula, boolean isR1C1, boolean isLocal) | |
formula - The range used to fill the control.isR1C1 - Whether the formula needs to be formatted as R1C1.isLocal - Whether the formula needs to be formatted by locale.Example:
//After executing the code below, a ListBox object is created in the generated file. When the selected option is clicked, the selected value is displayed in cell A12.
//Initialize a new workbook.
//Workbook book = new Workbook();
for (int i = 0; i< 10; ++i)
{
Cell cell = book.getWorksheets().get(0).getCells().get(i, 0);
cell.setValue(i + 1);
}
//Create a ListBox object
//ActiveX Controls
//Aspose.Cells.Drawing.Shape listBox = book.Worksheets[0].Shapes.AddActiveXControl( Aspose.Cells.Drawing.ActiveXControls.ControlType.ListBox,2, 0, 2, 0, 130, 130);
//Form Controls
Shape listBox = book.getWorksheets().get(0).getShapes().addListBox(2, 0, 2, 0, 130, 130);
//Sets the range used to fill the control.
listBox.setInputRange("$A$1:$A$6", false, false);
//Sets the range linked to the control's value.
listBox.setLinkedCell("$A$12", false, true);updateSelectedValue | → inherited from Shape
|
public void updateSelectedValue()
throws java.lang.Exception | |
Example:
//Initialize a new workbook.
//Workbook book = new Workbook();
Cell cell = null;
for (int i = 0; i< 10; ++i)
{
cell = book.getWorksheets().get(0).getCells().get(i, 0);
cell.setValue(i + 1);
}
//Create a ListBox object
//ActiveX Controls
//Aspose.Cells.Drawing.Shape listBox = book.Worksheets[0].Shapes.AddActiveXControl( Aspose.Cells.Drawing.ActiveXControls.ControlType.ListBox,2, 0, 2, 0, 130, 130);
//Form Controls
Shape listBox = book.getWorksheets().get(0).getShapes().addListBox(2, 0, 2, 0, 130, 130);
//Sets the range used to fill the control.
listBox.setInputRange("$A$1:$A$6", false, false);
//Sets the range linked to the control's value.
listBox.setLinkedCell("$A$12", false, true);
ListBox listbx = (ListBox)listBox;
//Set the value of cell A12
cell = book.getWorksheets().get(0).getCells().get(11, 0);
cell.setValue(3);
//Update the selected value by the value of the linked cell.
listBox.updateSelectedValue();
//-1 default, no option selected
if(listbx.isSelected(2))
{
//Option 3 of the ListBox is selected
}
//Change the value of a linked cell
cell.setValue(4);
//Update the selected value by the value of the linked cell.
listBox.updateSelectedValue();
if(listbx.isSelected(3))
{
//Option 4 of the ListBox is selected
}calculateTextSize | → inherited from Shape
|
public int[] calculateTextSize()
throws java.lang.Exception | |
Example:
//The size of the text area is:w=size[0],h=size[1] int[] size = shape.calculateTextSize();
formatCharacters | → inherited from Shape
|
public void formatCharacters(int startIndex, int length, Font font, StyleFlag flag) throws java.lang.Exception | |
startIndex - The start index.length - The length.font - The font setting.flag - The flag of the font setting.formatCharacters | → inherited from Shape
|
public void formatCharacters(int startIndex, int length, Font font) | |
startIndex - The start index.length - The length.font - The font setting.characters | → inherited from Shape
|
public FontSetting characters(int startIndex, int length) | |
startIndex - The index of the start of the character.length - The number of characters.Example:
FontSetting fontSetting = shape.characters(0, 4);
getCharacters | → inherited from Shape
|
public java.util.ArrayList getCharacters()
throws java.lang.Exception | |
Example:
ArrayList list = shape.getCharacters();
removeActiveXControl | → inherited from Shape
|
public void removeActiveXControl() | |
Example:
shape.removeActiveXControl();
isSameSetting | → inherited from Shape
|
public boolean isSameSetting(java.lang.Object obj) | |
obj - Example:
if (shape.isSameSetting(shape))
System.out.println("Two objects the same.");getConnectionPoints | → inherited from Shape
|
public float[][] getConnectionPoints() | |
Example:
float[][] points = shape.getConnectionPoints();
toImage | → inherited from Shape
|
public void toImage(java.io.OutputStream stream, ImageFormat imageFormat) throws java.lang.Exception | |
The following formats are supported: .bmp, .gif, .jpg, .jpeg, .tiff, .emf.
stream - The output stream.imageFormat - The format in which to save the image.toImage | → inherited from Shape
|
public void toImage(java.lang.String imageFile, ImageOrPrintOptions options) throws java.lang.Exception | |
Example:
ImageOrPrintOptions op = new ImageOrPrintOptions();
shape.toImage("exmaple.png", op);toImage | → inherited from Shape
|
public void toImage(java.io.OutputStream stream, ImageOrPrintOptions options) throws java.lang.Exception | |
getResultOfSmartArt | → inherited from Shape
|
public GroupShape getResultOfSmartArt() throws java.lang.Exception | |
Example:
GroupShape groupShape = shape.getResultOfSmartArt();
toFrontOrBack | → inherited from Shape
|
public void toFrontOrBack(int orders) | |
orders -
If it's less than zero, sets the shape to back.
If it's greater than zero, brings the shape to front.
Example:
shape.toFrontOrBack(2); //or shape.ToFrontOrBack(-1);
getLockedProperty | → inherited from Shape
|
public boolean getLockedProperty(int type) | |
type - A Example:
int noAdjustHandles = 0;
if (shape.getLockedProperty(ShapeLockType.ADJUST_HANDLES))
noAdjustHandles = 1;setLockedProperty | → inherited from Shape
|
public void setLockedProperty(int type, boolean value) | |
type - A value - The value of the property.Example:
shape.setLockedProperty(ShapeLockType.ADJUST_HANDLES, true);
addHyperlink | → inherited from Shape
|
public Hyperlink addHyperlink(java.lang.String address) | |
address - Address of the hyperlink.Example:
Hyperlink hyperlink = shape.addHyperlink("https://www.aspose.com/");removeHyperlink | → inherited from Shape
|
public void removeHyperlink() | |
Example:
shape.removeHyperlink();
moveToRange | → inherited from Shape
|
public void moveToRange(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn) | |
upperLeftRow - Upper left row index.upperLeftColumn - Upper left column index.lowerRightRow - Lower right row indexlowerRightColumn - Lower right column indexExample:
shape.moveToRange(12, 3, 13, 5);
alignTopRightCorner | → inherited from Shape
|
public void alignTopRightCorner(int topRow, int rightColumn) | |
topRow - the row index.rightColumn - the column index.Example:
shape.alignTopRightCorner(2, 5);