com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IControlCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IControl addControl(int controlType, float x, float y, float width, float height)
      Creates and adds a new control to the collection.
      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.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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)

        Creates and adds a new control to the collection.

        Returns:
        Created control.