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()
           Gets class id of this control.
 IShapeFrame getFrame()
           Returns or sets control's frame.
 java.lang.String getName()
           Gets or sets the name of this control.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 IPresentation getPresentation()
           Returns the presentation.
 IControlPropertiesCollection getProperties()
           Returns a collection of ActiveX properties.
 IBaseSlide getSlide()
           Returns the base slide.
 IPictureFillFormat getSubstitutePictureFormat()
           Returns Control image fill properties object.
 void setFrame(IShapeFrame value)
           Returns or sets control's frame.
 void setName(java.lang.String value)
           Gets or sets the name of this control.
 
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. Read/write String.

Specified by:
getName in interface IControl

setName

public 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 java.util.UUID getClassId()

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

Specified by:
getClassId in interface IControl

getSubstitutePictureFormat

public IPictureFillFormat getSubstitutePictureFormat()

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

Specified by:
getSubstitutePictureFormat in interface IControl

getFrame

public IShapeFrame getFrame()

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

Specified by:
getFrame in interface IControl

setFrame

public void setFrame(IShapeFrame value)

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

Specified by:
setFrame in interface IControl

getProperties

public IControlPropertiesCollection getProperties()

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


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

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


getSlide

public IBaseSlide getSlide()
Description copied from interface: ISlideComponent

Returns the base slide. Read-only IBaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()
Description copied from interface: IPresentationComponent

Returns the presentation. Read-only IPresentation.

Specified by:
getPresentation in interface IPresentationComponent


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.