IControl

All Implemented Interfaces: com.aspose.slides.ISlideComponent

public interface IControl extends ISlideComponent

Represents an ActiveX control.

Methods

Method Description
getName() Returns the name of this control.
setName(String value) Returns the name of this control.
getClassId() Gets class id of this control.
getSubstitutePictureFormat() Returns ControlEx image fill properties object.
getFrame() Returns or sets control’s frame.
setFrame(IShapeFrame value) Returns or sets control’s frame.
getProperties() Returns a collection of ActiveX properties.
getPersistence() Gets the method used to store properties of the ActiveX control.
getActiveXControlBinary() Specifies the persistence of an ActiveX control when the method used to persist is either PersistStream, PersistStreamInit or PersistStorage.

getName()

public abstract String getName()

Returns the name of this control. Read/write String.

Returns: java.lang.String

setName(String value)

public abstract void setName(String value)

Returns the name of this control. Read/write String.

Parameters:

Parameter Type Description
value java.lang.String

getClassId()

public abstract UUID getClassId()

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

Returns: java.util.UUID

getSubstitutePictureFormat()

public abstract IPictureFillFormat getSubstitutePictureFormat()

Returns ControlEx image fill properties object. Read-only IPictureFillFormat.

Returns: IPictureFillFormat

getFrame()

public abstract IShapeFrame getFrame()

Returns or sets control’s frame. Read/write IShapeFrame.

Returns: IShapeFrame

setFrame(IShapeFrame value)

public abstract void setFrame(IShapeFrame value)

Returns or sets control’s frame. Read/write IShapeFrame.

Parameters:

Parameter Type Description
value IShapeFrame

getProperties()

public abstract IControlPropertiesCollection getProperties()

Returns a collection of ActiveX properties. Read-only IControlPropertiesCollection.

Returns: IControlPropertiesCollection

getPersistence()

public abstract int getPersistence()

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

Returns: int

getActiveXControlBinary()

public abstract byte[] getActiveXControlBinary()

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

Returns: byte[]