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.

        Parameters:
        controlType - Type of a control to add.
        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.
        Returns:
        Created control IControl.