com.aspose.slides
Class Control

java.lang.Object
  extended by com.aspose.slides.Control
All Implemented Interfaces:
IControl, IPresentationComponent, ISlideComponent

public class Control
extends java.lang.Object
implements IControl

Represents an ActiveX control.


Method Summary
 java.util.UUID getClassId()
           
 IShapeFrame getFrame()
           Returns or sets control's frame.
 java.lang.String getName()
           Gets or sets the name of this control.
 IPresentation getPresentation()
           
 IControlPropertiesCollection getProperties()
           Returns a collection of ActiveX properties.
 IBaseSlide getSlide()
           
 IPictureFillFormat getSubstitutePictureFormat()
           Returns Control image fill properties object.
 void setFrame(IShapeFrame value)
           
 void setName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()

Gets or sets the name of this control.

Specified by:
getName in interface IControl

setName

public void setName(java.lang.String value)
Specified by:
setName in interface IControl

getClassId

public java.util.UUID getClassId()
Specified by:
getClassId in interface IControl

getSubstitutePictureFormat

public IPictureFillFormat getSubstitutePictureFormat()

Returns Control image fill properties object. Readonly PictureFillFormat.

Specified by:
getSubstitutePictureFormat in interface IControl

getFrame

public IShapeFrame getFrame()

Returns or sets control's frame. Read/write ShapeFrame.

Specified by:
getFrame in interface IControl

setFrame

public void setFrame(IShapeFrame value)
Specified by:
setFrame in interface IControl

getProperties

public IControlPropertiesCollection getProperties()

Returns a collection of ActiveX properties. Readonly ControlPropertiesCollection.


Note: Aspose.Slides supports only XML based ActiveX properties. If properties stored in binary format, this property will return null.

Specified by:
getProperties in interface IControl

getSlide

public IBaseSlide getSlide()
Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()
Specified by:
getPresentation in interface IPresentationComponent