com.aspose.slides
Interface IControlCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IControl>, IGenericCollection<IControl>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IControl>, java.lang.Iterable<IControl>
All Known Implementing Classes:
ControlCollection

public interface IControlCollection
extends IGenericCollection<IControl>

A collection of ActiveX controls.


Method Summary
 IControl addControl(int controlType, float x, float y, float width, float height)
          
 void clear()
           Removes all controls from the collection.
 IControl get_Item(int index)
           Returns a control at the specified position.
 void remove(IControl item)
           Removes an ActiveX control from the collection.
 void removeAt(int index)
           Removes an ActiveX control stored at specified position from the collection.
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

remove

void remove(IControl item)

Removes an ActiveX control from the collection.

Parameters:
item - A control to remove.

removeAt

void removeAt(int index)

Removes an ActiveX control stored at specified position from the collection.

Parameters:
index - Index of a control to remove.

clear

void clear()

Removes all controls from the collection.


get_Item

IControl get_Item(int index)

Returns a control at the specified position.

Parameters:
index - Index of a control.

addControl

IControl addControl(int controlType,
                    float x,
                    float y,
                    float width,
                    float height)

Returns:


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.