Aspose::Slides::ISlide Class Referenceabstract

Represents a slide in a presentation. More...

Inherits Aspose::Slides::IBaseSlide, and Aspose::Slides::Theme::IOverrideThemeable.

Inherited by Aspose::Slides::Slide.

Public Member Functions

virtual System::SharedPtr< ISlideHeaderFooterManagerget_HeaderFooterManager ()=0
 Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. More...
 
virtual int32_t get_SlideNumber ()=0
 Returns a number of slide. Index of slide in IPresentation::Slides collection is always equal to SlideNumber - 1. Read int32_t. More...
 
virtual void set_SlideNumber (int32_t value)=0
 Returns a number of slide. Index of slide in IPresentation::Slides collection is always equal to SlideNumber - 1. Write int32_t. More...
 
virtual bool get_Hidden ()=0
 Determines whether the specified slide is hidden during a slide show. Read bool. More...
 
virtual void set_Hidden (bool value)=0
 Determines whether the specified slide is hidden during a slide show. Write bool. More...
 
virtual System::SharedPtr< ILayoutSlideget_LayoutSlide ()=0
 Returns the layout slide for the current slide. Read ILayoutSlide. More...
 
virtual void set_LayoutSlide (System::SharedPtr< ILayoutSlide > value)=0
 Sets the layout slide for the current slide. Write ILayoutSlide. More...
 
virtual System::SharedPtr< INotesSlideManagerget_NotesSlideManager ()=0
 Allow to access notes slide, add and remove it. Read-only INotesSlideManager. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (float scaleX, float scaleY)=0
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail ()=0
 Returns a Thumbnail Image object (20% of real size). More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::Drawing::Size imageSize)=0
 Returns a Thumbnail Bitmap object with specified size. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::ITiffOptions > options)=0
 Returns a Thumbnail tiff bitmap object with specified parameters. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting)=0
 Returns a Thumbnail Bitmap object. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, float scaleX, float scaleY)=0
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
virtual System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::Drawing::Size imageSize)=0
 Returns a Thumbnail Bitmap object with specified size. More...
 
virtual void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics, int32_t width, int32_t height)=0
 Renders certain slide to a Graphics object. More...
 
virtual void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics, float scale)=0
 Renders certain slide to a Graphics object. More...
 
virtual void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics)=0
 Renders certain slide to a Graphics object. More...
 
virtual System::ArrayPtr< System::SharedPtr< IComment > > GetSlideComments (System::SharedPtr< ICommentAuthor > author)=0
 Returns all slide comments added by specific author. More...
 
virtual void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream)=0
 Saves content of slide as SVG file. More...
 
virtual void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Export::ISVGOptions > svgOptions)=0
 Saves content of slide as SVG file. More...
 
virtual void Remove ()=0
 Removes slide from presentation. More...
 
virtual void Reset ()=0
 Resets position, size and formatting of every shape that has a prototype on LayoutSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IBaseSlide
virtual System::SharedPtr< IShapeCollectionget_Shapes ()=0
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
virtual System::SharedPtr< IControlCollectionget_Controls ()=0
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
virtual System::String get_Name ()=0
 Returns the name of a slide. Read System::String. More...
 
virtual void set_Name (System::String value)=0
 Sets the name of a slide. Write System::String. More...
 
virtual uint32_t get_SlideId ()=0
 Returns the ID of a slide. Read-only uint32_t. More...
 
virtual System::SharedPtr< ICustomDataget_CustomData ()=0
 Returns the slide's custom data. Read-only ICustomData. More...
 
virtual System::SharedPtr< IAnimationTimeLineget_Timeline ()=0
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
virtual System::SharedPtr< ISlideShowTransitionget_SlideShowTransition ()=0
 Returns the TransitionEx object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition. More...
 
virtual System::SharedPtr< IBackgroundget_Background ()=0
 Returns slide's background. Read-only IBackground. More...
 
virtual System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries ()=0
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
virtual bool get_ShowMasterShapes ()=0
 Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read bool. More...
 
virtual void set_ShowMasterShapes (bool value)=0
 Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Write bool. More...
 
virtual System::SharedPtr< IShapeFindShapeByAltText (System::String altText)=0
 Finds first occurrence of a shape with the specified alternative text. More...
 
virtual void JoinPortionsWithSameFormatting ()=0
 Joins runs with same formatting in all paragraphs in all acceptable shapes. More...
 
virtual System::SharedPtr< IBackgroundEffectiveDataCreateBackgroundEffective ()=0
 Creates and returns IBackgroundEffectiveData object which contains effective background properties. More...
 
virtual bool Equals (System::SharedPtr< IBaseSlide > slide)=0
 Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide's structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn't take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder. More...
 
- Public Member Functions inherited from Aspose::Slides::Theme::IThemeable
virtual System::SharedPtr< IThemeEffectiveDataCreateThemeEffective ()=0
 Returns an effective theme for this themeable object. More...
 
- Public Member Functions inherited from Aspose::Slides::ISlideComponent
virtual System::SharedPtr< IBaseSlideget_Slide ()=0
 Returns the base slide. Read-only IBaseSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IPresentationComponent
virtual System::SharedPtr< IPresentationget_Presentation ()=0
 Returns the presentation. Read-only IPresentation. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 
- Public Member Functions inherited from Aspose::Slides::Theme::IOverrideThemeable
virtual System::SharedPtr< IOverrideThemeManagerget_ThemeManager ()=0
 Returns override theme manager. Read-only IOverrideThemeManager. More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents a slide in a presentation.

Member Function Documentation

◆ get_HeaderFooterManager()

virtual System::SharedPtr<ISlideHeaderFooterManager> Aspose::Slides::ISlide::get_HeaderFooterManager ( )
pure virtual

Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager.

Implemented in Aspose::Slides::Slide.

◆ get_Hidden()

virtual bool Aspose::Slides::ISlide::get_Hidden ( )
pure virtual

Determines whether the specified slide is hidden during a slide show. Read bool.

Implemented in Aspose::Slides::Slide.

◆ get_LayoutSlide()

virtual System::SharedPtr<ILayoutSlide> Aspose::Slides::ISlide::get_LayoutSlide ( )
pure virtual

Returns the layout slide for the current slide. Read ILayoutSlide.

Implemented in Aspose::Slides::Slide.

◆ get_NotesSlideManager()

virtual System::SharedPtr<INotesSlideManager> Aspose::Slides::ISlide::get_NotesSlideManager ( )
pure virtual

Allow to access notes slide, add and remove it. Read-only INotesSlideManager.

Implemented in Aspose::Slides::Slide.

◆ get_SlideNumber()

virtual int32_t Aspose::Slides::ISlide::get_SlideNumber ( )
pure virtual

Returns a number of slide. Index of slide in IPresentation::Slides collection is always equal to SlideNumber - 1. Read int32_t.

Implemented in Aspose::Slides::Slide.

◆ GetSlideComments()

virtual System::ArrayPtr<System::SharedPtr<IComment> > Aspose::Slides::ISlide::GetSlideComments ( System::SharedPtr< ICommentAuthor author)
pure virtual

Returns all slide comments added by specific author.

Parameters
authorAuthor of comments to find or null to return all comments.
Returns
Array of IComment.

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [1/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( float  scaleX,
float  scaleY 
)
pure virtual

Returns a Thumbnail Bitmap object with custom scaling.

Parameters
scaleXThe value by which to scale this Thumbnail in the x-axis direction.
scaleYThe value by which to scale this Thumbnail in the y-axis direction.
Returns
Bitmap object.

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [2/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( )
pure virtual

Returns a Thumbnail Image object (20% of real size).

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [3/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( System::Drawing::Size  imageSize)
pure virtual

Returns a Thumbnail Bitmap object with specified size.

Parameters
imageSizeSize of the image to create.
Returns
Bitmap object.

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [4/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( System::SharedPtr< Export::ITiffOptions options)
pure virtual

Returns a Thumbnail tiff bitmap object with specified parameters.

Parameters
optionsTiff options.
Returns
Bitmap object.

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [5/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting)
pure virtual

Returns a Thumbnail Bitmap object.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
Returns
Bitmap objects.
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [6/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
float  scaleX,
float  scaleY 
)
pure virtual

Returns a Thumbnail Bitmap object with custom scaling.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
scaleXThe value by which to scale this Thumbnail in the x-axis direction.
scaleYThe value by which to scale this Thumbnail in the y-axis direction.
Returns
Bitmap objects.
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ GetThumbnail() [7/7]

virtual System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::ISlide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::Drawing::Size  imageSize 
)
pure virtual

Returns a Thumbnail Bitmap object with specified size.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
imageSizeSize of the image to create.
Returns
Bitmap objects.
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ Remove()

virtual void Aspose::Slides::ISlide::Remove ( )
pure virtual

Removes slide from presentation.

Exceptions
PptxEditExceptionThrown if slide is already removed from presentation.

Implemented in Aspose::Slides::Slide.

◆ RenderToGraphics() [1/3]

virtual void Aspose::Slides::ISlide::RenderToGraphics ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::SharedPtr< System::Drawing::Graphics graphics,
int32_t  width,
int32_t  height 
)
pure virtual

Renders certain slide to a Graphics object.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
graphicsThe object where to render to.
widthThe maximum width (in pixels) that can be occupied by the rendered slide.
heightThe maximum height (in pixels) that can be occupied by the rendered slide.
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ RenderToGraphics() [2/3]

virtual void Aspose::Slides::ISlide::RenderToGraphics ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::SharedPtr< System::Drawing::Graphics graphics,
float  scale 
)
pure virtual

Renders certain slide to a Graphics object.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
graphicsThe object where to render to.
scaleThe scale for rendering the slide (1.0 is 100%).
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ RenderToGraphics() [3/3]

virtual void Aspose::Slides::ISlide::RenderToGraphics ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::SharedPtr< System::Drawing::Graphics graphics 
)
pure virtual

Renders certain slide to a Graphics object.

Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
graphicsThe object where to render to.
Exceptions
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

Implemented in Aspose::Slides::Slide.

◆ Reset()

virtual void Aspose::Slides::ISlide::Reset ( )
pure virtual

Resets position, size and formatting of every shape that has a prototype on LayoutSlide.

Implemented in Aspose::Slides::Slide.

◆ set_Hidden()

virtual void Aspose::Slides::ISlide::set_Hidden ( bool  value)
pure virtual

Determines whether the specified slide is hidden during a slide show. Write bool.

Implemented in Aspose::Slides::Slide.

◆ set_LayoutSlide()

virtual void Aspose::Slides::ISlide::set_LayoutSlide ( System::SharedPtr< ILayoutSlide value)
pure virtual

Sets the layout slide for the current slide. Write ILayoutSlide.

Implemented in Aspose::Slides::Slide.

◆ set_SlideNumber()

virtual void Aspose::Slides::ISlide::set_SlideNumber ( int32_t  value)
pure virtual

Returns a number of slide. Index of slide in IPresentation::Slides collection is always equal to SlideNumber - 1. Write int32_t.

Implemented in Aspose::Slides::Slide.

◆ WriteAsSvg() [1/2]

virtual void Aspose::Slides::ISlide::WriteAsSvg ( System::SharedPtr< System::IO::Stream stream)
pure virtual

Saves content of slide as SVG file.

Parameters
streamTarget stream

Implemented in Aspose::Slides::Slide.

◆ WriteAsSvg() [2/2]

virtual void Aspose::Slides::ISlide::WriteAsSvg ( System::SharedPtr< System::IO::Stream stream,
System::SharedPtr< Export::ISVGOptions svgOptions 
)
pure virtual

Saves content of slide as SVG file.

Parameters
streamTarget stream
svgOptionsSVG generation options

Implemented in Aspose::Slides::Slide.