|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ShapeCollection
public final class ShapeCollection
Represents a collection of a shapes.
Method Summary | |
---|---|
IAudioFrame |
addAudioFrameCD(float x,
float y,
float width,
float height)
Adds an AudioFrame with CD to the end of collection. |
IAudioFrame |
addAudioFrameEmbedded(float x,
float y,
float width,
float height,
IAudio audio)
Adds a new audio frame with embedded audio file to the end of a collection. |
IAudioFrame |
addAudioFrameEmbedded(float x,
float y,
float width,
float height,
java.io.InputStream audio_stream)
|
IAudioFrame |
addAudioFrameLinked(float x,
float y,
float width,
float height,
java.lang.String fname)
Adds a new audio frame with linked audio file to the end of a collection. |
IAutoShape |
addAutoShape(int shapeType,
float x,
float y,
float width,
float height)
Creates a new AutoShape, tunes it from default template and adds it to the end of the collection. |
IAutoShape |
addAutoShape(int shapeType,
float x,
float y,
float width,
float height,
boolean createFromTemplate)
Creates a new AutoShape and adds it to the end of the collection. |
IChart |
addChart(int type,
float x,
float y,
float width,
float height)
Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection. |
IChart |
addChart(int type,
float x,
float y,
float width,
float height,
boolean initWithSample)
Creates a new Chart and adds it to the end of the collection. |
IConnector |
addConnector(int shapeType,
float x,
float y,
float width,
float height)
Creates a new Connector, tunes it from default template and adds it to the end of the collection. |
IConnector |
addConnector(int shapeType,
float x,
float y,
float width,
float height,
boolean createFromTemplate)
Creates a new Connector and adds it to the end of the collection. |
IGroupShape |
addGroupShape()
Creates a new GroupShape and adds it to the end of the collection. |
IOleObjectFrame |
addOleObjectFrame(float x,
float y,
float width,
float height,
java.lang.String className,
byte[] objectData)
Adds a new OLE object to the end of a collection. |
IOleObjectFrame |
addOleObjectFrame(float x,
float y,
float width,
float height,
java.lang.String className,
java.lang.String path)
Adds a new OLE object to the end of a collection. |
IPictureFrame |
addPictureFrame(int shapeType,
float x,
float y,
float width,
float height,
IPPImage image)
Creates a new PictureFrame and adds it to the end of the collection. |
ISmartArt |
addSmartArt(float x,
float y,
float width,
float height,
int layoutType)
Add SmartArt object |
ITable |
addTable(float x,
float y,
double[] columnWidths,
double[] rowHeights)
Creates a new Table and adds it to the end of the collection. |
IVideoFrame |
addVideoFrame(float x,
float y,
float width,
float height,
IVideo video)
Adds a new video frame to the end of a collection. |
IVideoFrame |
addVideoFrame(float x,
float y,
float width,
float height,
java.lang.String fname)
Adds a new video frame to the end of a collection. |
void |
clear()
Removes all shapes from the collection. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
IShape |
get_Item(int index)
Gets the element at the specified index. |
IGroupShape |
getParentGroup()
Returns parent GroupShape object for a shapes collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
int |
indexOf(IShape shape)
Returns the zero-based index of the first occurrence of a shape in the collection. |
IAudioFrame |
insertAudioFrameCD(int index,
float x,
float y,
float width,
float height)
Insert an AudioFrame with CD. |
IAudioFrame |
insertAudioFrameEmbedded(int index,
float x,
float y,
float width,
float height,
IAudio audio)
Insert an AudioFrame with embedded audio file. |
IAudioFrame |
insertAudioFrameEmbedded(int index,
float x,
float y,
float width,
float height,
java.io.InputStream audio_stream)
|
IAudioFrame |
insertAudioFrameLinked(int index,
float x,
float y,
float width,
float height,
java.lang.String fname)
Creates a new audio frame with linked audio file and inserts it to a collection at the specified index. |
IAutoShape |
insertAutoShape(int index,
int shapeType,
float x,
float y,
float width,
float height)
Creates a new AutoShape, tunes it from default template and inserts it to the collection at the specified index. |
IAutoShape |
insertAutoShape(int index,
int shapeType,
float x,
float y,
float width,
float height,
boolean createFromTemplate)
Creates a new AutoShape and inserts it to the collection at the specified index. |
IChart |
insertChart(int type,
float x,
float y,
float width,
float height,
int index)
Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection. |
IChart |
insertChart(int type,
float x,
float y,
float width,
float height,
int index,
boolean initWithSample)
Creates a new Chart and inserts it to the specified position in the collection. |
IConnector |
insertConnector(int index,
int shapeType,
float x,
float y,
float width,
float height)
Creates a new Connector, tunes it from default template and inserts it to the collection at the specified index. |
IConnector |
insertConnector(int index,
int shapeType,
float x,
float y,
float width,
float height,
boolean createFromTemplate)
Creates a new Connector and inserts it to the collection at the specified index. |
IGroupShape |
insertGroupShape(int index)
Creates a new GroupShape and inserts it to the collection at the specified index. |
IOleObjectFrame |
insertOleObjectFrame(int index,
float x,
float y,
float width,
float height,
java.lang.String className,
byte[] objectData)
Creates a new OLE object and inserts it to a collection at the specified index. |
IOleObjectFrame |
insertOleObjectFrame(int index,
float x,
float y,
float width,
float height,
java.lang.String className,
java.lang.String path)
Creates a new OLE object and inserts it to a collection at the specified index. |
IPictureFrame |
insertPictureFrame(int index,
int shapeType,
float x,
float y,
float width,
float height,
IPPImage image)
Creates a new PictureFrame and inserts it to the collection at the specified index. |
ITable |
insertTable(int index,
float x,
float y,
double[] columnWidths,
double[] rowHeights)
Creates a new Table and inserts it to the collection at the specified index. |
IVideoFrame |
insertVideoFrame(int index,
float x,
float y,
float width,
float height,
java.lang.String fname)
Creates a new video frame and inserts it to a collection at the specified index. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IShape> |
iterator()
Returns an enumerator that iterates through the collection. |
void |
remove(IShape shape)
Removes the first occurrence of a specific shape from the collection. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
void |
reorder(int index,
IShape... shapes)
Moves shapes from the collection to the specified position. |
void |
reorder(int index,
IShape shape)
Moves a shape from the collection to the specified position. |
int |
size()
Gets the number of elements actually contained in the collection. |
IShape[] |
toArray()
Creates and returns an array with all shapse in it. |
IShape[] |
toArray(int startIndex,
int count)
Creates and returns an array with all shapes from the specified range in it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Gets the number of elements actually contained in the collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection<IShape>
public IShape get_Item(int index)
Gets the element at the specified index.
Read-only IShape
.
get_Item
in interface IShapeCollection
public IChart addChart(int type, float x, float y, float width, float height)
Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection.
addChart
in interface IShapeCollection
type
- Type of chart.x
- X coordinate of a new chart.y
- Y coordinate of a new chart.width
- Chart's width.height
- Chart's height.
public IChart addChart(int type, float x, float y, float width, float height, boolean initWithSample)
Creates a new Chart and adds it to the end of the collection.
addChart
in interface IShapeCollection
type
- Type of chart.x
- X coordinate of a new chart.y
- Y coordinate of a new chart.width
- Chart's width.height
- Chart's height.initWithSample
- If true then new chart will be initialized with sample series data and settings.
If false then new chart will have no series and minimum settings. In this case
chart creation will be more fast.
public ISmartArt addSmartArt(float x, float y, float width, float height, int layoutType)
Add SmartArt object
Example:[C#] Presentation pres = new Presentation(); Slide slide = pres.Slides[0]; SmartArt smart = slide.Shapes.AddSmartArt(0, 0, 400, 400, SmartArtLayoutType.BasicBlockList);[Visual Basic] Private pres As New Presentation() Private slide As Slide = pres.Slides(0) Private smart As SmartArt = slide.Shapes.AddSmartArt(0, 0, 400, 400, SmartArtLayoutType.BasicBlockList)
addSmartArt
in interface IShapeCollection
x
- y
- width
- height
- layoutType
-
public IChart insertChart(int type, float x, float y, float width, float height, int index)
Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection.
insertChart
in interface IShapeCollection
type
- Type of chart.x
- X coordinate of a new chart.y
- Y coordinate of a new chart.width
- Chart's width.height
- Chart's height.index
- Chart's position in the collection.
public IChart insertChart(int type, float x, float y, float width, float height, int index, boolean initWithSample)
Creates a new Chart and inserts it to the specified position in the collection.
insertChart
in interface IShapeCollection
type
- Type of chart.x
- X coordinate of a new chart.y
- Y coordinate of a new chart.width
- Chart's width.height
- Chart's height.index
- Chart's position in the collection.initWithSample
- If true then new chart will be initialized with sample series data and settings.
If false then new chart will have no series and minimum settings. In this case
chart creation will be more fast.
public IOleObjectFrame addOleObjectFrame(float x, float y, float width, float height, java.lang.String className, byte[] objectData)
Adds a new OLE object to the end of a collection.
addOleObjectFrame
in interface IShapeCollection
x
- X coordinate of a new OLE frame.y
- Y coordinate of a new OLE frame.width
- Width of a new OLE frame.height
- Height of a new OLE frame.className
- Name of an OLE class.objectData
- OLE object's data.
public IOleObjectFrame addOleObjectFrame(float x, float y, float width, float height, java.lang.String className, java.lang.String path)
Adds a new OLE object to the end of a collection.
addOleObjectFrame
in interface IShapeCollection
x
- X coordinate of a new OLE frame.y
- Y coordinate of a new OLE frame.width
- Width of a new OLE frame.height
- Height of a new OLE frame.className
- Name of an OLE class.path
- Path to the linked file.The path is stored in the presentation as is. If a relative path is specified the corresponding file will be inaccessible when opening the presentation from a different directory.
public IOleObjectFrame insertOleObjectFrame(int index, float x, float y, float width, float height, java.lang.String className, byte[] objectData)
Creates a new OLE object and inserts it to a collection at the specified index.
insertOleObjectFrame
in interface IShapeCollection
index
- The zero-based index at which OLE object should be inserted.x
- X coordinate of a new OLE frame.y
- Y coordinate of a new OLE frame.width
- Width of a new OLE frame.height
- Height of a new OLE frame.className
- Name of an OLE class.objectData
- OLE object's data.
public IOleObjectFrame insertOleObjectFrame(int index, float x, float y, float width, float height, java.lang.String className, java.lang.String path)
Creates a new OLE object and inserts it to a collection at the specified index.
insertOleObjectFrame
in interface IShapeCollection
index
- The zero-based index at which OLE object should be inserted.x
- X coordinate of a new OLE frame.y
- Y coordinate of a new OLE frame.width
- Width of a new OLE frame.height
- Height of a new OLE frame.className
- Name of an OLE class.path
- Path to the linked file.
public IVideoFrame addVideoFrame(float x, float y, float width, float height, java.lang.String fname)
Adds a new video frame to the end of a collection.
addVideoFrame
in interface IShapeCollection
x
- X coordinate of a new video frame.y
- Y coordinate of a new video frame.width
- Width of a new video frame.height
- Height of a new video frame.fname
- Video file name.
public IVideoFrame addVideoFrame(float x, float y, float width, float height, IVideo video)
Adds a new video frame to the end of a collection.
addVideoFrame
in interface IShapeCollection
x
- X coordinate of a new video frame.y
- Y coordinate of a new video frame.width
- Width of a new video frame.height
- Height of a new video frame.video
- Video to add.public IVideoFrame insertVideoFrame(int index, float x, float y, float width, float height, java.lang.String fname)
Creates a new video frame and inserts it to a collection at the specified index.
insertVideoFrame
in interface IShapeCollection
index
- The zero-based index at which video frame should be inserted.x
- X coordinate of a new video frame.y
- Y coordinate of a new video frame.width
- Width of a new video frame.height
- Height of a new video frame.fname
- Video file name.
public IAudioFrame addAudioFrameCD(float x, float y, float width, float height)
Adds an AudioFrame with CD to the end of collection.
addAudioFrameCD
in interface IShapeCollection
x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.
public IAudioFrame insertAudioFrameCD(int index, float x, float y, float width, float height)
Insert an AudioFrame with CD.
insertAudioFrameCD
in interface IShapeCollection
index
- The zero-based index at which video frame should be inserted.x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.
public IAudioFrame addAudioFrameLinked(float x, float y, float width, float height, java.lang.String fname)
Adds a new audio frame with linked audio file to the end of a collection.
addAudioFrameLinked
in interface IShapeCollection
x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.fname
- Audio file name.
public IAudioFrame insertAudioFrameLinked(int index, float x, float y, float width, float height, java.lang.String fname)
Creates a new audio frame with linked audio file and inserts it to a collection at the specified index.
insertAudioFrameLinked
in interface IShapeCollection
index
- The zero-based index at which audio frame should be inserted.x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.fname
- Audio file name.
public IAudioFrame addAudioFrameEmbedded(float x, float y, float width, float height, java.io.InputStream audio_stream)
addAudioFrameEmbedded
in interface IShapeCollection
public IAudioFrame insertAudioFrameEmbedded(int index, float x, float y, float width, float height, java.io.InputStream audio_stream)
insertAudioFrameEmbedded
in interface IShapeCollection
public IAudioFrame addAudioFrameEmbedded(float x, float y, float width, float height, IAudio audio)
Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.
addAudioFrameEmbedded
in interface IShapeCollection
x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.audio
- Audio from Presentation.Audios list.
public IAudioFrame insertAudioFrameEmbedded(int index, float x, float y, float width, float height, IAudio audio)
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.
insertAudioFrameEmbedded
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.audio
- Audio from Presentation.Audios list.
public int indexOf(IShape shape)
Returns the zero-based index of the first occurrence of a shape in the collection.
indexOf
in interface IShapeCollection
shape
- The shape to locate in the collection.
public IShape[] toArray()
Creates and returns an array with all shapse in it.
toArray
in interface IShapeCollection
Shape
public IShape[] toArray(int startIndex, int count)
Creates and returns an array with all shapes from the specified range in it.
toArray
in interface IShapeCollection
startIndex
- An index of a first shape to return.count
- A number of shapes to return.
Shape
public void reorder(int index, IShape shape)
Moves a shape from the collection to the specified position.
reorder
in interface IShapeCollection
index
- Target index.shape
- Shape to move.public void reorder(int index, IShape... shapes)
Moves shapes from the collection to the specified position. Shapes will be placed starting from index in order they appear in list.
reorder
in interface IShapeCollection
index
- Target index.shapes
- Shapes to move.public IAutoShape addAutoShape(int shapeType, float x, float y, float width, float height)
Creates a new AutoShape, tunes it from default template and adds it to the end of the collection.
addAutoShape
in interface IShapeCollection
shapeType
- The ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.
public IAutoShape addAutoShape(int shapeType, float x, float y, float width, float height, boolean createFromTemplate)
Creates a new AutoShape and adds it to the end of the collection.
addAutoShape
in interface IShapeCollection
shapeType
- The ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.createFromTemplate
- If true then new shape will be tuned from default template. Not empty name,
simple style, text centered will be assined to the new shape.
If false then all values of the properties of the new shape will have default values.
public IAutoShape insertAutoShape(int index, int shapeType, float x, float y, float width, float height)
Creates a new AutoShape, tunes it from default template and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter.
insertAutoShape
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.shapeType
- An ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.
public IAutoShape insertAutoShape(int index, int shapeType, float x, float y, float width, float height, boolean createFromTemplate)
Creates a new AutoShape and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter.
insertAutoShape
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.shapeType
- An ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.createFromTemplate
- If true then new shape will be tuned from default template. Not empty name,
simple style, text centered will be assined to the new shape.
If false then all values of the properties of the new shape will have default values.
public IGroupShape addGroupShape()
Creates a new GroupShape and adds it to the end of the collection. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.
addGroupShape
in interface IShapeCollection
public IGroupShape insertGroupShape(int index)
Creates a new GroupShape and inserts it to the collection at the specified index. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.
insertGroupShape
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.
public IConnector addConnector(int shapeType, float x, float y, float width, float height)
Creates a new Connector, tunes it from default template and adds it to the end of the collection.
addConnector
in interface IShapeCollection
shapeType
- The ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.
public IConnector addConnector(int shapeType, float x, float y, float width, float height, boolean createFromTemplate)
Creates a new Connector and adds it to the end of the collection.
addConnector
in interface IShapeCollection
shapeType
- The ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.createFromTemplate
- If true then new shape will be tuned from default template. Not empty name,
simple style, text centered will be assined to the new shape.
If false then all values of the properties of the new shape will have default values.
public IConnector insertConnector(int index, int shapeType, float x, float y, float width, float height)
Creates a new Connector, tunes it from default template and inserts it to the collection at the specified index.
insertConnector
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.shapeType
- An ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.
public IConnector insertConnector(int index, int shapeType, float x, float y, float width, float height, boolean createFromTemplate)
Creates a new Connector and inserts it to the collection at the specified index.
insertConnector
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.shapeType
- An ShapeType
of shape.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.createFromTemplate
- If true then new shape will be tuned from default template. Not empty name,
simple style, text centered will be assined to the new shape.
If false then all values of the properties of the new shape will have default values.
public IPictureFrame addPictureFrame(int shapeType, float x, float y, float width, float height, IPPImage image)
Creates a new PictureFrame and adds it to the end of the collection.
addPictureFrame
in interface IShapeCollection
shapeType
- The shape contained in the set ShapeType
of shapes, except all sorts of lines:
ShapeType.Line,
ShapeType.StraightConnector1,
ShapeType.BentConnector2,
ShapeType.BentConnector3,
ShapeType.BentConnector4,
ShapeType.BentConnector5,
ShapeType.CurvedConnector2,
ShapeType.CurvedConnector3,
ShapeType.CurvedConnector4,
ShapeType.CurvedConnector5.
x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.image
- The image of picture frame.
public IPictureFrame insertPictureFrame(int index, int shapeType, float x, float y, float width, float height, IPPImage image)
Creates a new PictureFrame and inserts it to the collection at the specified index.
insertPictureFrame
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.shapeType
- The shape contained in the set ShapeType
of shapes, except all sorts of lines:
ShapeType.Line,
ShapeType.StraightConnector1,
ShapeType.BentConnector2,
ShapeType.BentConnector3,
ShapeType.BentConnector4,
ShapeType.BentConnector5,
ShapeType.CurvedConnector2,
ShapeType.CurvedConnector3,
ShapeType.CurvedConnector4,
ShapeType.CurvedConnector5.
x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.width
- The width of shape's frame.height
- The height of shape's frame.image
- The image of picture frame.
public ITable addTable(float x, float y, double[] columnWidths, double[] rowHeights)
Creates a new Table and adds it to the end of the collection.
addTable
in interface IShapeCollection
x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.columnWidths
- Array of doubles which represents widths of columns in the table.rowHeights
- Array of doubles which represents heights of rows in the table.
public ITable insertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)
Creates a new Table and inserts it to the collection at the specified index.
insertTable
in interface IShapeCollection
index
- The zero-based index at which value should be inserted.x
- The X-coordinate for a left side of shape's frame.y
- The Y-coordinate for a top side of shape's frame.columnWidths
- Array of doubles which represents widths of columns in the table.rowHeights
- Array of doubles which represents heights of rows in the table.
public void removeAt(int index)
Removes the element at the specified index of the collection.
removeAt
in interface IShapeCollection
index
- The zero-based index of the element to remove.public void remove(IShape shape)
Removes the first occurrence of a specific shape from the collection.
remove
in interface IShapeCollection
shape
- The shape to remove from the collection.public void clear()
Removes all shapes from the collection.
clear
in interface IShapeCollection
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IShape> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IShape>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IShape>
iterator
in interface java.lang.Iterable<IShape>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public IGroupShape getParentGroup()
Returns parent GroupShape object for a shapes collection.
Read-only IGroupShape
.
getParentGroup
in interface IShapeCollection
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<IShape>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<IShape>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IShape>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |