com.aspose.slides.pptx
Class SlideEx

java.lang.Object
  extended by com.aspose.slides.pptx.BaseSlideEx
      extended by com.aspose.slides.pptx.SlideEx

public final class SlideEx
extends BaseSlideEx

Represents a slide in a presentation.


Field Summary
 
Fields inherited from class com.aspose.slides.pptx.BaseSlideEx
m_parent, m_slideDoc
 
Method Summary
 LayoutSlideEx getLayoutSlide()
          Returns the layout slide for the current slide.
 NotesSlideEx getNotesSlide()
          Returns the notes slide for the current slide.
 int getSlideNumber()
          Returns the number of a slide.
 SlideShowTransitionEx getSlideShowTransition()
           
 ThemeEx getTheme()
          Returns the theme object from master.
 java.awt.image.BufferedImage getThumbnail(float scaleX, float scaleY)
          Returns a Thumbnail Bitmap object with custom scaling.
 void setLayoutSlide(LayoutSlideEx value)
          Sets the layout slide for the current slide.
 void setSlideNumber(int value)
          Sets the number of a slide.
 
Methods inherited from class com.aspose.slides.pptx.BaseSlideEx
addNotes, getBackground, getParent, getPresentation, getShapes, getSlide, getSlideId, getTags, getTimeline
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTheme

public ThemeEx getTheme()
Returns the theme object from master.

Specified by:
getTheme in class BaseSlideEx

getSlideNumber

public int getSlideNumber()
Returns the number of a slide. Index of slide in PresentationEx.getSlides() collection is always equal to getSlideNumber() - 1.


setSlideNumber

public void setSlideNumber(int value)
Sets the number of a slide.


getSlideShowTransition

public SlideShowTransitionEx getSlideShowTransition()
Overrides:
getSlideShowTransition in class BaseSlideEx

getThumbnail

public java.awt.image.BufferedImage getThumbnail(float scaleX,
                                                 float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.

Parameters:
scaleX - The value by which to scale this Thumbnail in the x-axis direction.
scaleY - The value by which to scale this Thumbnail in the y-axis direction.
Returns:
Bitmap object.

getLayoutSlide

public LayoutSlideEx getLayoutSlide()
Returns the layout slide for the current slide.

Returns:
See LayoutSlideEx.

setLayoutSlide

public void setLayoutSlide(LayoutSlideEx value)
Sets the layout slide for the current slide.

Parameters:
value - See LayoutSlideEx.

getNotesSlide

public NotesSlideEx getNotesSlide()
Returns the notes slide for the current slide.

Returns:
See NotesSlideEx.