Aspose::Slides::Presentation Class Referencefinal

Represents a Microsoft PowerPoint presentation. More...

Inherits Aspose::Slides::IPresentation, and Aspose::Slides::IDOMObject.

Public Member Functions

System::DateTime get_CurrentDateTime () override
 Returns date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read System::DateTime. More...
 
void set_CurrentDateTime (System::DateTime value) override
 Sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Write System::DateTime. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate () override
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IPresentationHeaderFooterManagerget_HeaderFooterManager () override
 Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager. More...
 
System::SharedPtr< IProtectionManagerget_ProtectionManager () override
 Gets manager of the permissions for this presentation. Read-only IProtectionManager. More...
 
System::SharedPtr< ISlideCollectionget_Slides () override
 Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection. More...
 
System::SharedPtr< ISectionCollectionget_Sections () override
 Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection. More...
 
System::SharedPtr< ISlideSizeget_SlideSize () override
 Returns slide size object. Read-only ISlideSize. More...
 
System::SharedPtr< INotesSizeget_NotesSize () override
 Returns notes slide size object. Read-only INotesSize. More...
 
System::SharedPtr< IGlobalLayoutSlideCollectionget_LayoutSlides () override
 Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection. More...
 
System::SharedPtr< IMasterSlideCollectionget_Masters () override
 Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection. More...
 
System::SharedPtr< IMasterNotesSlideManagerget_MasterNotesSlideManager () override
 Returns notes master manager. Read-only IMasterNotesSlideManager. More...
 
System::SharedPtr< IMasterHandoutSlideManagerget_MasterHandoutSlideManager () override
 Returns handout master manager. Read-only IMasterHandoutSlideManager. More...
 
System::SharedPtr< IFontsManagerget_FontsManager () override
 Returns fonts manager. Read-only IFontsManager. More...
 
System::SharedPtr< ITextStyleget_DefaultTextStyle () override
 Returns default text style for shapes. Read-only ITextStyle. More...
 
System::SharedPtr< ICommentAuthorCollectionget_CommentAuthors () override
 Returns the collection of comments autors. Read-only ICommentAuthorCollection. More...
 
System::SharedPtr< IDocumentPropertiesget_DocumentProperties () override
 Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties. More...
 
System::SharedPtr< IImageCollectionget_Images () override
 Returns the collection of all images in the presentation. Read-only IImageCollection. More...
 
System::SharedPtr< IAudioCollectionget_Audios () override
 Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection. More...
 
System::SharedPtr< IVideoCollectionget_Videos () override
 Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection. More...
 
System::SharedPtr< IDigitalSignatureCollectionget_DigitalSignatures () override
 Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection. More...
 
System::SharedPtr< ICustomDataget_CustomData () override
 Returns the presentation's custom data. Read-only ICustomData. More...
 
System::ArrayPtr< System::SharedPtr< ICustomXmlPart > > get_AllCustomXmlParts () override
 Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[]. More...
 
System::SharedPtr< Vba::IVbaProjectget_VbaProject () override
 Gets VBA project with presentation macros. Read Vba::IVbaProject. More...
 
void set_VbaProject (System::SharedPtr< Vba::IVbaProject > value) override
 Sets VBA project with presentation macros. Write Vba::IVbaProject. More...
 
System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries () override
 Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries. More...
 
System::SharedPtr< IViewPropertiesget_ViewProperties () override
 Gets presentation wide view properties. Read-only IViewProperties. More...
 
int32_t get_FirstSlideNumber () override
 Represents the first slide number in the presentation More...
 
void set_FirstSlideNumber (int32_t value) override
 Represents the first slide number in the presentation More...
 
Aspose::Slides::SourceFormat get_SourceFormat () override
 Returns information about from which format presentation was loaded. Read-only SourceFormat. More...
 
System::SharedPtr< Theme::IMasterThemeget_MasterTheme () override
 Returns master theme. Read-only Theme::IMasterTheme. More...
 
System::SharedPtr< IPresentationget_Presentation () override
 Returns the parent presentation of a text. Read-only IPresentation. More...
 
 Presentation ()
 This constructor creates new presentation from scratch. Created presentation has one empty slide. More...
 
 Presentation (System::SharedPtr< Aspose::Slides::LoadOptions > loadOptions)
 This constructor creates new presentation from scratch. Created presentation has one empty slide. More...
 
 Presentation (System::SharedPtr< System::IO::Stream > stream)
 This constructor is the primary mechanism for reading an existing Presentation. More...
 
 Presentation (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Aspose::Slides::LoadOptions > loadOptions)
 This constructor is the primary mechanism for reading an existing Presentation. More...
 
 Presentation (System::String file)
 This constructor gets a source file path from which the contents of the Presentation are read. More...
 
 Presentation (System::String file, System::SharedPtr< Aspose::Slides::LoadOptions > loadOptions)
 This constructor gets a source file path from which the contents of the Presentation are read. More...
 
System::SharedPtr< IBaseSlideGetSlideById (uint32_t id) override
 Returns a Slide, MasterSlide or LayoutSlide by Id. More...
 
void Save (System::String fname, Export::SaveFormat format) override
 Saves all slides of a presentation to a file with the specified format. More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, Export::SaveFormat format) override
 Saves all slides of a presentation to a stream in the specified format. More...
 
void Save (System::String fname, Export::SaveFormat format, System::SharedPtr< Export::ISaveOptions > options) override
 Saves all slides of a presentation to a file with the specified format and with additional options. More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, Export::SaveFormat format, System::SharedPtr< Export::ISaveOptions > options) override
 Saves all slides of a presentation to a stream in the specified format and with additional options. More...
 
void _anonymous_method_0 (System::SharedPtr< System::IO::Stream > stream)
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::ArrayPtr< int32_t > slides) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::ArrayPtr< int32_t > slides, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::ArrayPtr< int32_t > slides, System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options, System::ArrayPtr< int32_t > slides) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options, System::ArrayPtr< int32_t > slides, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options, System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size. More...
 
System::ArrayPtr< System::SharedPtr< System::Drawing::Bitmap > > GetThumbnails (System::SharedPtr< Export::IRenderingOptions > options, System::ArrayPtr< int32_t > slides, System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size. More...
 
void Save (System::String fname, System::ArrayPtr< int32_t > slides, Export::SaveFormat format) override
 Saves specified slides of a presentation to a file with the specified format with page number keeping. More...
 
void Save (System::String fname, System::ArrayPtr< int32_t > slides, Export::SaveFormat format, System::SharedPtr< Export::ISaveOptions > options) override
 Saves specified slides of a presentation to a file with the specified format with page number keeping. More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, System::ArrayPtr< int32_t > slides, Export::SaveFormat format) override
 Saves specified slides of a presentation to a stream in the specified format with page number keeping. More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, System::ArrayPtr< int32_t > slides, Export::SaveFormat format, System::SharedPtr< Export::ISaveOptions > options) override
 Saves specified slides of a presentation to a stream in the specified format with page number keeping. More...
 
void Save (System::String fname, Export::SaveFormat format, System::SharedPtr< System::Web::HttpResponse > response, bool showInline) override
 Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide. More...
 
void Save (System::String fname, Export::SaveFormat format, System::SharedPtr< Export::ISaveOptions > options, System::SharedPtr< System::Web::HttpResponse > response, bool showInline) override
 Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide. More...
 
void JoinPortionsWithSameFormatting () override
 Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides. More...
 
void Dispose () override
 Releases all resources used by this Aspose.Slides.Pptx.PrentationEx object. 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 () 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)
 

Protected Member Functions

virtual ~Presentation ()
 

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 Microsoft PowerPoint presentation.

Constructor & Destructor Documentation

◆ Presentation() [1/6]

Aspose::Slides::Presentation::Presentation ( )

This constructor creates new presentation from scratch. Created presentation has one empty slide.

◆ Presentation() [2/6]

Aspose::Slides::Presentation::Presentation ( System::SharedPtr< Aspose::Slides::LoadOptions loadOptions)

This constructor creates new presentation from scratch. Created presentation has one empty slide.

Parameters
loadOptionsAdditional load options.

◆ Presentation() [3/6]

Aspose::Slides::Presentation::Presentation ( System::SharedPtr< System::IO::Stream stream)

This constructor is the primary mechanism for reading an existing Presentation.

Parameters
streamInput stream.
auto fis = MakeObject<IO::FileStream>(u"demo.pptx", IO::FileMode::Open, IO::FileAccess::Read);
auto pres = MakeObject<Presentation>(fis);
fis->Close();

◆ Presentation() [4/6]

Aspose::Slides::Presentation::Presentation ( System::SharedPtr< System::IO::Stream stream,
System::SharedPtr< Aspose::Slides::LoadOptions loadOptions 
)

This constructor is the primary mechanism for reading an existing Presentation.

Parameters
streamInput stream.
loadOptionsAdditional load options.

◆ Presentation() [5/6]

Aspose::Slides::Presentation::Presentation ( System::String  file)

This constructor gets a source file path from which the contents of the Presentation are read.

Parameters
fileInput file.
Exceptions
System::ArgumentExceptionThrown when input file has zero length
auto pres = MakeObject<Presentation>(u"demo.pptx");

◆ Presentation() [6/6]

Aspose::Slides::Presentation::Presentation ( System::String  file,
System::SharedPtr< Aspose::Slides::LoadOptions loadOptions 
)

This constructor gets a source file path from which the contents of the Presentation are read.

Parameters
fileInput file.
loadOptionsAdditional load options.
Exceptions
System::ArgumentExceptionThrown when input file has zero length

◆ ~Presentation()

virtual Aspose::Slides::Presentation::~Presentation ( )
protectedvirtual

Member Function Documentation

◆ _anonymous_method_0()

void Aspose::Slides::Presentation::_anonymous_method_0 ( System::SharedPtr< System::IO::Stream stream)

◆ Dispose()

void Aspose::Slides::Presentation::Dispose ( )
overridevirtual

Releases all resources used by this Aspose.Slides.Pptx.PrentationEx object.

Reimplemented from System::IDisposable.

◆ get_AllCustomXmlParts()

System::ArrayPtr<System::SharedPtr<ICustomXmlPart> > Aspose::Slides::Presentation::get_AllCustomXmlParts ( )
overridevirtual

Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[].

Implements Aspose::Slides::IPresentation.

◆ get_Audios()

System::SharedPtr<IAudioCollection> Aspose::Slides::Presentation::get_Audios ( )
overridevirtual

Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection.

Implements Aspose::Slides::IPresentation.

◆ get_CommentAuthors()

System::SharedPtr<ICommentAuthorCollection> Aspose::Slides::Presentation::get_CommentAuthors ( )
overridevirtual

Returns the collection of comments autors. Read-only ICommentAuthorCollection.

Implements Aspose::Slides::IPresentation.

◆ get_CurrentDateTime()

System::DateTime Aspose::Slides::Presentation::get_CurrentDateTime ( )
overridevirtual

Returns date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read System::DateTime.

Implements Aspose::Slides::IPresentation.

◆ get_CustomData()

System::SharedPtr<ICustomData> Aspose::Slides::Presentation::get_CustomData ( )
overridevirtual

Returns the presentation's custom data. Read-only ICustomData.

Implements Aspose::Slides::IPresentation.

◆ get_DefaultTextStyle()

System::SharedPtr<ITextStyle> Aspose::Slides::Presentation::get_DefaultTextStyle ( )
overridevirtual

Returns default text style for shapes. Read-only ITextStyle.

Implements Aspose::Slides::IPresentation.

◆ get_DigitalSignatures()

System::SharedPtr<IDigitalSignatureCollection> Aspose::Slides::Presentation::get_DigitalSignatures ( )
overridevirtual

Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection.

auto pres = System::MakeObject<Presentation>(u"SomePresentationSigned.pptx");
if (pres->get_DigitalSignatures()->get_Count() > 0)
{
bool allSignaturesAreValid = true;
System::Console::WriteLine(u"Signatures used to sign the presentation: ");
for (int i = 0; i < pres->get_DigitalSignatures()->get_Count(); ++i)
{
auto signature = pres->get_DigitalSignatures()->idx_get(i);
System::Console::WriteLine(u"{0}, {1} --- {2}",
signature->get_Certificate()->get_SubjectName()->get_Name(),
signature->get_SignTime().ToString(u"yyyy-MM-dd HH:mm"),
(signature->get_IsValid() ? u"VALID" : u"INVALID")
);
allSignaturesAreValid &= signature->get_IsValid();
}
if (allSignaturesAreValid)
System::Console::WriteLine(u"Presentation is genuine, all signatures are valid.");
else
System::Console::WriteLine(u"Presentation has been modified since signing.");
}

Implements Aspose::Slides::IPresentation.

◆ get_DocumentProperties()

System::SharedPtr<IDocumentProperties> Aspose::Slides::Presentation::get_DocumentProperties ( )
overridevirtual

Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties.

Implements Aspose::Slides::IPresentation.

◆ get_FirstSlideNumber()

int32_t Aspose::Slides::Presentation::get_FirstSlideNumber ( )
overridevirtual

Represents the first slide number in the presentation

Implements Aspose::Slides::IPresentation.

◆ get_FontsManager()

System::SharedPtr<IFontsManager> Aspose::Slides::Presentation::get_FontsManager ( )
overridevirtual

Returns fonts manager. Read-only IFontsManager.

Implements Aspose::Slides::IPresentation.

◆ get_HeaderFooterManager()

System::SharedPtr<IPresentationHeaderFooterManager> Aspose::Slides::Presentation::get_HeaderFooterManager ( )
overridevirtual

Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager.

Implements Aspose::Slides::IPresentation.

◆ get_HyperlinkQueries()

System::SharedPtr<IHyperlinkQueries> Aspose::Slides::Presentation::get_HyperlinkQueries ( )
overridevirtual

Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries.

Implements Aspose::Slides::IPresentation.

◆ get_Images()

System::SharedPtr<IImageCollection> Aspose::Slides::Presentation::get_Images ( )
overridevirtual

Returns the collection of all images in the presentation. Read-only IImageCollection.

Implements Aspose::Slides::IPresentation.

◆ get_LayoutSlides()

System::SharedPtr<IGlobalLayoutSlideCollection> Aspose::Slides::Presentation::get_LayoutSlides ( )
overridevirtual

Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection.

You can access to alternative API for adding/inserting/removing/cloning layout slides by using IMasterSlide.LayoutSlides property.

Implements Aspose::Slides::IPresentation.

◆ get_MasterHandoutSlideManager()

System::SharedPtr<IMasterHandoutSlideManager> Aspose::Slides::Presentation::get_MasterHandoutSlideManager ( )
overridevirtual

Returns handout master manager. Read-only IMasterHandoutSlideManager.

Implements Aspose::Slides::IPresentation.

◆ get_MasterNotesSlideManager()

System::SharedPtr<IMasterNotesSlideManager> Aspose::Slides::Presentation::get_MasterNotesSlideManager ( )
overridevirtual

Returns notes master manager. Read-only IMasterNotesSlideManager.

Implements Aspose::Slides::IPresentation.

◆ get_Masters()

System::SharedPtr<IMasterSlideCollection> Aspose::Slides::Presentation::get_Masters ( )
overridevirtual

Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection.

Implements Aspose::Slides::IPresentation.

◆ get_MasterTheme()

System::SharedPtr<Theme::IMasterTheme> Aspose::Slides::Presentation::get_MasterTheme ( )
overridevirtual

Returns master theme. Read-only Theme::IMasterTheme.

Implements Aspose::Slides::IPresentation.

◆ get_NotesSize()

System::SharedPtr<INotesSize> Aspose::Slides::Presentation::get_NotesSize ( )
overridevirtual

Returns notes slide size object. Read-only INotesSize.

Implements Aspose::Slides::IPresentation.

◆ get_Parent_Immediate()

System::SharedPtr<IDOMObject> Aspose::Slides::Presentation::get_Parent_Immediate ( )
overridevirtual

Returns Parent_Immediate object. Read-only IDOMObject.

Implements Aspose::Slides::IDOMObject.

◆ get_Presentation()

System::SharedPtr<IPresentation> Aspose::Slides::Presentation::get_Presentation ( )
overridevirtual

Returns the parent presentation of a text. Read-only IPresentation.

Implements Aspose::Slides::IPresentationComponent.

◆ get_ProtectionManager()

System::SharedPtr<IProtectionManager> Aspose::Slides::Presentation::get_ProtectionManager ( )
overridevirtual

Gets manager of the permissions for this presentation. Read-only IProtectionManager.

Implements Aspose::Slides::IPresentation.

◆ get_Sections()

System::SharedPtr<ISectionCollection> Aspose::Slides::Presentation::get_Sections ( )
overridevirtual

Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection.

Implements Aspose::Slides::IPresentation.

◆ get_Slides()

System::SharedPtr<ISlideCollection> Aspose::Slides::Presentation::get_Slides ( )
overridevirtual

Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection.

Implements Aspose::Slides::IPresentation.

◆ get_SlideSize()

System::SharedPtr<ISlideSize> Aspose::Slides::Presentation::get_SlideSize ( )
overridevirtual

Returns slide size object. Read-only ISlideSize.

Implements Aspose::Slides::IPresentation.

◆ get_SourceFormat()

Aspose::Slides::SourceFormat Aspose::Slides::Presentation::get_SourceFormat ( )
overridevirtual

Returns information about from which format presentation was loaded. Read-only SourceFormat.

Implements Aspose::Slides::IPresentation.

◆ get_VbaProject()

System::SharedPtr<Vba::IVbaProject> Aspose::Slides::Presentation::get_VbaProject ( )
overridevirtual

Gets VBA project with presentation macros. Read Vba::IVbaProject.

Implements Aspose::Slides::IPresentation.

◆ get_Videos()

System::SharedPtr<IVideoCollection> Aspose::Slides::Presentation::get_Videos ( )
overridevirtual

Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection.

Implements Aspose::Slides::IPresentation.

◆ get_ViewProperties()

System::SharedPtr<IViewProperties> Aspose::Slides::Presentation::get_ViewProperties ( )
overridevirtual

Gets presentation wide view properties. Read-only IViewProperties.

Implements Aspose::Slides::IPresentation.

◆ GetSlideById()

System::SharedPtr<IBaseSlide> Aspose::Slides::Presentation::GetSlideById ( uint32_t  id)
overridevirtual

Returns a Slide, MasterSlide or LayoutSlide by Id.

Parameters
idId of a slide.
Returns
IBaseSlide object.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [1/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [2/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::ArrayPtr< int32_t slides 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions, int[]) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
slidesArray with slide positions, starting from 1.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [3/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions, float, float) instead. The method will be removed after release of version 21.4.
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.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [4/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::ArrayPtr< int32_t slides,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions, int[], float, float) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
slidesArray with slide positions, starting from 1.
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.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [5/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions, Size) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
imageSizeSize of the image to create.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [6/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::ArrayPtr< int32_t slides,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.

Deprecated:
Use Presentation.GetThumbnails(IRenderingOptions, int[], Size) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
slidesArray with slide positions, starting from 1.
imageSizeSize of the image to create.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [7/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation.

Parameters
optionsTiff options.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [8/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options,
System::ArrayPtr< int32_t slides 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation.

Parameters
optionsTiff options.
slidesArray with slide positions, starting from 1.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [9/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.

Parameters
optionsTiff options.
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.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [10/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options,
System::ArrayPtr< int32_t slides,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.

Parameters
optionsTiff options.
slidesArray with slide positions, starting from 1.
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.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [11/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.

Parameters
optionsTiff options.
imageSizeSize of the image to create.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ GetThumbnails() [12/12]

System::ArrayPtr<System::SharedPtr<System::Drawing::Bitmap> > Aspose::Slides::Presentation::GetThumbnails ( System::SharedPtr< Export::IRenderingOptions options,
System::ArrayPtr< int32_t slides,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.

Parameters
optionsTiff options.
slidesArray with slide positions, starting from 1.
imageSizeSize of the image to create.
Returns
Bitmap objects.

Implements Aspose::Slides::IPresentation.

◆ JoinPortionsWithSameFormatting()

void Aspose::Slides::Presentation::JoinPortionsWithSameFormatting ( )
overridevirtual

Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.

Implements Aspose::Slides::IPresentation.

◆ Save() [1/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
Export::SaveFormat  format 
)
overridevirtual

Saves all slides of a presentation to a file with the specified format.

Parameters
fnamePath to the created file.
formatFormat of the exported data.

Implements Aspose::Slides::IPresentation.

◆ Save() [2/10]

void Aspose::Slides::Presentation::Save ( System::SharedPtr< System::IO::Stream stream,
Export::SaveFormat  format 
)
overridevirtual

Saves all slides of a presentation to a stream in the specified format.

Parameters
streamOutput stream.
formatFormat of the exported data.

Implements Aspose::Slides::IPresentation.

◆ Save() [3/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
Export::SaveFormat  format,
System::SharedPtr< Export::ISaveOptions options 
)
overridevirtual

Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters
fnamePath to the created file.
formatFormat of the exported data.
optionsAdditional format options.

Implements Aspose::Slides::IPresentation.

◆ Save() [4/10]

void Aspose::Slides::Presentation::Save ( System::SharedPtr< System::IO::Stream stream,
Export::SaveFormat  format,
System::SharedPtr< Export::ISaveOptions options 
)
overridevirtual

Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters
streamOutput stream.
formatFormat of the exported data.
optionsAdditional format options.
Exceptions
System::NotSupportedExceptionIf you try to save encrypted file in none Office 2007-2010 format

Implements Aspose::Slides::IPresentation.

◆ Save() [5/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
System::ArrayPtr< int32_t slides,
Export::SaveFormat  format 
)
overridevirtual

Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters
fnamePath to the created file.
slidesArray with slide positions, starting from 1.
formatFormat of the exported data.
Exceptions
System::ArgumentNullExceptionWhen stream or slides parameter is null.
System::ArgumentOutOfRangeExceptionWhen slides parameter contains wrong page numbers.
System::InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

Implements Aspose::Slides::IPresentation.

◆ Save() [6/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
System::ArrayPtr< int32_t slides,
Export::SaveFormat  format,
System::SharedPtr< Export::ISaveOptions options 
)
overridevirtual

Saves specified slides of a presentation to a file with the specified format with page number keeping.

Parameters
fnamePath to the created file.
slidesArray with slide positions, starting from 1.
formatFormat of the exported data.
optionsAdditional format options.

Implements Aspose::Slides::IPresentation.

◆ Save() [7/10]

void Aspose::Slides::Presentation::Save ( System::SharedPtr< System::IO::Stream stream,
System::ArrayPtr< int32_t slides,
Export::SaveFormat  format 
)
overridevirtual

Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters
streamOutput stream.
slidesArray with slide positions, starting from 1.
formatFormat of the exported data.

Implements Aspose::Slides::IPresentation.

◆ Save() [8/10]

void Aspose::Slides::Presentation::Save ( System::SharedPtr< System::IO::Stream stream,
System::ArrayPtr< int32_t slides,
Export::SaveFormat  format,
System::SharedPtr< Export::ISaveOptions options 
)
overridevirtual

Saves specified slides of a presentation to a stream in the specified format with page number keeping.

Parameters
streamOutput stream.
slidesArray with slide positions, starting from 1.
formatFormat of the exported data.
optionsAdditional format options.
Exceptions
System::ArgumentNullExceptionWhen stream or slides parameter is null.
System::ArgumentOutOfRangeExceptionWhen slides parameter contains wrong page numbers.
System::InvalidOperationExceptionWhen an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

Implements Aspose::Slides::IPresentation.

◆ Save() [9/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
Export::SaveFormat  format,
System::SharedPtr< System::Web::HttpResponse response,
bool  showInline 
)
overridevirtual

Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.

Parameters
fnameThe name for the presentation that will appear at the client browser. The name should not contain path.
formatFormat of the exported data.
responseResponse object where to save the document.
showInlineTrue to show an option to open the presentation inside the browser.

Implements Aspose::Slides::IPresentation.

◆ Save() [10/10]

void Aspose::Slides::Presentation::Save ( System::String  fname,
Export::SaveFormat  format,
System::SharedPtr< Export::ISaveOptions options,
System::SharedPtr< System::Web::HttpResponse response,
bool  showInline 
)
overridevirtual

Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.

Parameters
fnameThe name for the presentation that will appear at the client browser. The name should not contain path.
formatFormat of the exported data.
optionsAdditional format options.
responseResponse object where to save the document.
showInlineTrue to show an option to open the presentation inside the browser.

Implements Aspose::Slides::IPresentation.

◆ set_CurrentDateTime()

void Aspose::Slides::Presentation::set_CurrentDateTime ( System::DateTime  value)
overridevirtual

Sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Write System::DateTime.

Implements Aspose::Slides::IPresentation.

◆ set_FirstSlideNumber()

void Aspose::Slides::Presentation::set_FirstSlideNumber ( int32_t  value)
overridevirtual

Represents the first slide number in the presentation

Implements Aspose::Slides::IPresentation.

◆ set_VbaProject()

void Aspose::Slides::Presentation::set_VbaProject ( System::SharedPtr< Vba::IVbaProject value)
overridevirtual

Sets VBA project with presentation macros. Write Vba::IVbaProject.

Implements Aspose::Slides::IPresentation.