com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Control

  • java.lang.Object
    • com.aspose.slides.Control
    • Method Detail

      • getPersistence

        public final int getPersistence()

        Gets the method used to store properties of the ActiveX control. Read only PersistenceType.


         Next example shows the using Persistence property for checking if properties of ActiveX object may be changed as XML based ActiveX properties:
         
         if (control.getPersistence() == PersistenceType.PersistPropertyBag)
         {
             control.getProperties().set_Item("Value", value);
         }
         else
         {
             YourMethodHere(control.getActiveXControlBinary()); //Use your own method for managing ActiveX properties stored in its binary file
         }
         
        Specified by:
        getPersistence in interface IControl
      • getName

        public final java.lang.String getName()

        Gets or sets the name of this control. Read/write String.

        Specified by:
        getName in interface IControl
      • setName

        public final void setName(java.lang.String value)

        Gets or sets the name of this control. Read/write String.

        Specified by:
        setName in interface IControl
      • getClassId

        public final java.util.UUID getClassId()

        Gets class id of this control. Read-only UUID.

        Specified by:
        getClassId in interface IControl
      • setClassId

        public final void setClassId(java.util.UUID value)

        Gets class id of this control. Read-only UUID.

      • getActiveXControlBinary

        public final byte[] getActiveXControlBinary()

        Specifies the persistence of an ActiveX control when the method used to persist is either PersistStream, PersistStreamInit or PersistStorage.


         Next example shows the using ActiveXControlBinary property for changing ActiveX properties:
         
         if (control.getPersistence() == PersistenceType.PersistPropertyBag)
         {
             control.getProperties().set_Item("Value", value);
         }
         else
         {
             YourMethodHere(control.getActiveXControlBinary()); //Use your own method for managing ActiveX properties stored in its binary file
         }
         
        Specified by:
        getActiveXControlBinary in interface IControl
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.