Returns a basic placeholder shape (shape from the layout and/or master slide that the current shape is inherited from). A null is returned if the current shape is not inherited.
Returns or sets the way to plot blank cells on a chart. Read/write DisplayBlanksAsType.
Result:
int
getEffectFormat
Name
Description
getEffectFormat()
Returns the EffectFormat object which contains pixel effects applied to a shape. Note: can return null for certain types of shapes which don’t have effect properties. Read-only IEffectFormat.
Returns the FillFormat object that contains fill formatting properties for a shape. Note: can return null for certain types of shapes which don’t have fill properties. Read-only IFillFormat.
Returns or sets the shape frame’s properties. Read/write IShapeFrame. Value of each property of the returned IShapeFrame instance is not undefined (is not NaN or NotDefined). Value of each property of the assigned IShapeFrame instance must be not undefined (must be not NaN or NotDefined). You can set undefined values for RawFrame instance properties.
Returns or sets the height of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
Result:
float
getHidden
Name
Description
getHidden()
Determines whether the shape is hidden. Read/write boolean.
Result:
boolean
getHyperlinkClick
Name
Description
getHyperlinkClick()
Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.
Returns the LineFormat object that contains line formatting properties for a shape. Note: can return null for certain types of shapes which don’t have line properties. Read-only ILineFormat.
Returns or sets the number of degrees the specified shape is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
Result:
float
getRotation3D
Name
Description
getRotation3D()
Returns a 3D rotation of a chart. Read-only IRotation3D.
Returns or sets the chart style. Read/write StyleType.
Result:
int
getTextFormat
Name
Description
getTextFormat()
Returns chart text format. The property is not applicable for the following types: ChartType#Treemap, ChartType#Sunburst, ChartType#Waterfall, ChartType#Histogram, ChartType#Funnel, ChartType#BoxAndWhisker. Read-only IChartTextFormat.
Returns the ThreeDFormat object that 3d effect properties for a shape. Note: can return null for certain types of shapes which don’t have 3d properties. Read-only IThreeDFormat.
Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default.
Result:
BufferedImage
getThumbnail
Name
Description
getThumbnail(int, float, float)
Returns shape thumbnail.
Parameters:
Name
Type
Description
bounds
int
Shape thumbnail bounds type.
scaleX
float
X scale
scaleY
float
Y scale
Result:
BufferedImage
getType
Name
Description
getType()
Returns or sets the chart type. Read/write ChartType.
Result:
int
getUniqueId
Name
Description
getUniqueId()
Gets unique shape identifier in presentation scope. Read-only long. See also ( #getOfficeInteropShapeId) for getting unique shape identifier in slide scope.
Result:
long
getUserShapes
Name
Description
getUserShapes()
Specify the shapes drawn on top of the chart. Read-only IGroupShape.
Returns or sets the width of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
Result:
float
getX
Name
Description
getX()
Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
Result:
float
getY
Name
Description
getY()
Returns or sets the y-coordinate of the upper-left corner of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
Result:
float
getZOrderPosition
Name
Description
getZOrderPosition()
Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only int.
Result:
int
hasDataTable
Name
Description
hasDataTable()
Determines whether a chart has a data table. Read/write boolean.
Result:
boolean
hasLegend
Name
Description
hasLegend()
Determines whether a chart has a legend. Read/write boolean.
Result:
boolean
hasRoundedCorners
Name
Description
hasRoundedCorners()
Specifies the chart area shall have rounded corners. Read/write boolean.
Result:
boolean
hasTitle
Name
Description
hasTitle()
Determines whether a chart has a visible title. Read/write boolean.
Result:
boolean
isGrouped
Name
Description
isGrouped()
Determines whether the shape is grouped. Read-only boolean. Property ( #getParentGroup) returns parent GroupShape object if shape is grouped.
Result:
boolean
isTextHolder
Name
Description
isTextHolder()
Determines whether the shape is TextHolder_PPT. Read-only boolean.
Result:
boolean
removePlaceholder
Name
Description
removePlaceholder()
Defines that this shape isn’t a placeholder.
setAlternativeText
Name
Description
setAlternativeText(String)
Returns or sets the alternative text associated with a shape. Read/write String.
setAlternativeTextTitle
Name
Description
setAlternativeTextTitle(String)
Returns or sets the title of alternative text associated with a shape. Read/write String.
setBlackWhiteMode
Name
Description
setBlackWhiteMode(byte)
Property specifies how a shape will render in black-and-white display mode.. Read/write BlackWhiteMode.
setDataTable
Name
Description
setDataTable(boolean)
Determines whether a chart has a data table. Read/write boolean.
setDisplayBlanksAs
Name
Description
setDisplayBlanksAs(int)
Returns or sets the way to plot blank cells on a chart. Read/write DisplayBlanksAsType.
Returns or sets the shape frame’s properties. Read/write IShapeFrame. Value of each property of the returned IShapeFrame instance is not undefined (is not NaN or NotDefined). Value of each property of the assigned IShapeFrame instance must be not undefined (must be not NaN or NotDefined). You can set undefined values for RawFrame instance properties.
setHeight
Name
Description
setHeight(float)
Returns or sets the height of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
setHidden
Name
Description
setHidden(boolean)
Determines whether the shape is hidden. Read/write boolean.
Returns or sets the raw shape frame’s properties. Read/write IShapeFrame.
setRotation
Name
Description
setRotation(float)
Returns or sets the number of degrees the specified shape is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
setRoundedCorners
Name
Description
setRoundedCorners(boolean)
Specifies the chart area shall have rounded corners. Read/write boolean.
setShowDataLabelsOverMaximum
Name
Description
setShowDataLabelsOverMaximum(boolean)
Specifies data labels over the maximum of the chart shall be shown. Read/write boolean.
setStyle
Name
Description
setStyle(int)
Returns or sets the chart style. Read/write StyleType.
setTitle
Name
Description
setTitle(boolean)
Determines whether a chart has a visible title. Read/write boolean.
setType
Name
Description
setType(int)
Returns or sets the chart type. Read/write ChartType.
setWidth
Name
Description
setWidth(float)
Returns or sets the width of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
setX
Name
Description
setX(float)
Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
setY
Name
Description
setY(float)
Returns or sets the y-coordinate of the upper-left corner of the shape. Read/write float. Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.
validateChartLayout
Name
Description
validateChartLayout()
Calculates actual values of chart elements. The actual values include position of elements that implement IActualLayout interface (IActualLayout.ActualX, IActualLayout.ActualY, IActualLayout.ActualWidth, IActualLayout.ActualHeight) and actual axes values (IAxis.ActualMaxValue, IAxis.ActualMinValue, IAxis.ActualMajorUnit, IAxis.ActualMinorUnit, IAxis.ActualMajorUnitScale, IAxis.ActualMinorUnitScale)