Packagecom.globfx.showroom
Classpublic class Presentation
InheritancePresentation Inheritance Object

The Presentation class represents the PowerPoint presentation that is currently displayed by the slide show.

It can be retrieved through the ShowRoom.presentation property.

See also

com.globfx.showroom.ShowRoom
com.globfx.showroom.ShowRoom.presentation


Public Properties
 PropertyDefined By
  name : String
[read-only] Returns the name of the presentation. The name a presentation could be "Presentation1" if it has not been saved yet, or or "MyPres.pptx" if it has been saved.
Presentation
  numSlides : int
[read-only] Returns the total number of slides of the presentation. This number does not necessarily equals the number of slides of the slide show.
Presentation
Public Methods
 MethodDefined By
  
findSlideByTitle(title:String):Slide
Returns the slide with the specified title in the presentation. If several slides have this title, the first one is returned.
Presentation
  
getSlide(number:int):Slide
Returns the specified slide of the presentation. Slide numbers go from 1 to numSlides inclusive.
Presentation
Property Detail
nameproperty
name:String  [read-only]

Returns the name of the presentation.

The name a presentation could be "Presentation1" if it has not been saved yet, or or "MyPres.pptx" if it has been saved.


Implementation
    public function get name():String
numSlidesproperty 
numSlides:int  [read-only]

Returns the total number of slides of the presentation.

This number does not necessarily equals the number of slides of the slide show.


Implementation
    public function get numSlides():int

See also

Method Detail
findSlideByTitle()method
public function findSlideByTitle(title:String):Slide

Returns the slide with the specified title in the presentation.

If several slides have this title, the first one is returned.

Parameters

title:String — The title of the slide object.

Returns
Slide — The slide object that has the specified title.
getSlide()method 
public function getSlide(number:int):Slide

Returns the specified slide of the presentation.

Slide numbers go from 1 to numSlides inclusive.

Parameters

number:int — The number of the slide object.

Returns
Slide — The slide object for the specified slide number.

See also