Represents a slide in a presentation. More...

Inherits Aspose::Slides::BaseSlide, and Aspose::Slides::ISlide.

Public Member Functions

System::SharedPtr< ISlideHeaderFooterManagerget_HeaderFooterManager ()
 Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. More...
 
System::SharedPtr< Theme::IOverrideThemeManagerget_ThemeManager ()
 Returns the overriding theme manager. Read-only IOverrideThemeManager. More...
 
int32_t get_SlideNumber ()
 Returns a number of slide. Index of slide in Presentation::Slides collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read int32_t. More...
 
void set_SlideNumber (int32_t value)
 Returns a number of slide. Index of slide in Presentation::Slides collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Write int32_t. More...
 
bool get_Hidden ()
 Determines whether the specified slide is hidden during a slide show. Read bool. More...
 
void set_Hidden (bool value)
 Determines whether the specified slide is hidden during a slide show. Write bool. More...
 
virtual bool get_ShowMasterShapes ()
 Specifies if shapes on the master slide should be shown on slides or not. Read bool. More...
 
virtual void set_ShowMasterShapes (bool value)
 Specifies if shapes on the master slide should be shown on slides or not. Write bool. More...
 
System::SharedPtr< ILayoutSlideget_LayoutSlide ()
 Returns the layout slide for the current slide. Read ILayoutSlide. More...
 
void set_LayoutSlide (System::SharedPtr< ILayoutSlide > value)
 Sets the layout slide for the current slide. Write ILayoutSlide. More...
 
System::SharedPtr< INotesSlideManagerget_NotesSlideManager ()
 Allow to access notes slide, add and remove it. Read-only INotesSlideManager. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (float scaleX, float scaleY)
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail ()
 Returns a Thumbnail Image object (20% of real size). More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::Drawing::Size imageSize)
 Returns a Thumbnail Bitmap object with specified size. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::ITiffOptions > options)
 Returns a Thumbnail tiff bitmap object with specified parameters. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting)
 Returns a Thumbnail Bitmap object. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, float scaleX, float scaleY)
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::Drawing::Size imageSize)
 Returns a Thumbnail Bitmap object with specified size. More...
 
void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics, int32_t width, int32_t height)
 Renders certain slide to a Graphics object using specified size. More...
 
void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics, float scale)
 Renders certain slide to a Graphics object using specified scale. More...
 
void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics)
 Renders certain slide to a Graphics object. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream)
 Saves content of slide as SVG file. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Export::ISVGOptions > svgOptions)
 Saves content of slide as SVG file. More...
 
void Remove ()
 Removes slide from presentation. More...
 
void Reset ()
 Resets position, size and formatting of every shape that has a prototype on LayoutSlide. More...
 
System::ArrayPtr< System::SharedPtr< IComment > > GetSlideComments (System::SharedPtr< ICommentAuthor > author)
 Returns all slide comments added by specific author. More...
 
virtual void JoinPortionsWithSameFormatting ()
 Joins runs with same formatting in all paragraphs in all acceptable shapes. More...
 
- Public Member Functions inherited from Aspose::Slides::BaseSlide
System::SharedPtr< IShapeCollectionget_Shapes ()
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
System::SharedPtr< IControlCollectionget_Controls ()
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
virtual System::String get_Name ()
 Returns the name of a slide. Read System::String. More...
 
virtual void set_Name (System::String value)
 Sets the name of a slide. Write System::String. More...
 
uint32_t get_SlideId ()
 Returns the ID of a slide. Read-only uint32_t. More...
 
System::SharedPtr< ICustomDataget_CustomData ()
 Returns the slide's custom data. Read-only ICustomData. More...
 
System::SharedPtr< IAnimationTimeLineget_Timeline ()
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
virtual System::SharedPtr< ISlideShowTransitionget_SlideShowTransition ()
 Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition. More...
 
System::SharedPtr< IBackgroundget_Background ()
 Returns slide's background. Read-only IBackground. More...
 
System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries ()
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IPresentationget_Presentation ()
 Returns IPresentation interface. Read-only IPresentation. More...
 
System::SharedPtr< IBaseSlideget_Slide ()
 Returns the base slide. Read-only IBaseSlide. More...
 
bool Equals (System::SharedPtr< IBaseSlide > slide)
 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...
 
virtual void JoinPortionsWithSameFormatting (System::SharedPtr< IShapeCollection > collection)
 Joins runs with same formatting in all paragraphs in all acceptable shapes. More...
 
System::SharedPtr< Theme::IThemeEffectiveDataCreateThemeEffective ()
 Returns an effective theme for this slide. More...
 
System::SharedPtr< IBackgroundEffectiveDataCreateBackgroundEffective ()
 Creates and returns IBackgroundEffectiveData object which contains effective background properties. More...
 
System::SharedPtr< IShapeFindShapeByAltText (System::String altText)
 Finds first occurrence of a shape with the specified alternative text. 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)
 

Protected Types

using LongDrawingStageFinishedHandler = System::MulticastDelegate< void()>
 

Protected Member Functions

virtual System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps > get_BaseSlidePPTXUnsupportedProps ()
 
virtual System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps > get_BaseSlidePPTUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::SlidePPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::SlideOrLayoutPPTUnsupportedProps > get_PPTUnsupportedProps ()
 
System::SharedPtr< SlideHeaderFooterManagerget_HeaderFooterManagerInternal ()
 Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. More...
 
int32_t get_SlideNumberInternal ()
 This property is used to correctly set the slide number in Notes mode. More...
 
void set_SlideNumberInternal (int32_t value)
 This property is used to correctly set the slide number in Notes mode. More...
 
System::SharedPtr< Aspose::Slides::LayoutSlideget_LayoutSlideInternal ()
 Direct access to the layout. Layout is attached not as template in this case. More...
 
void set_LayoutSlideInternal (System::SharedPtr< Aspose::Slides::LayoutSlide > value)
 Direct access to the layout. Layout is attached not as template in this case. More...
 
System::SharedPtr< IMasterSlideget_MasterSlide ()
 
virtual System::ArrayPtr< System::SharedPtr< IBaseSlide > > get_BaseSlides ()
 
int32_t get_LongDrawingStageCount ()
 Returns drawing stage count witch required a long time. This property must to match LongDrawingStageFinished handler call count. More...
 
void set_LongDrawingStageFinished (Aspose::Slides::Slide::LongDrawingStageFinishedHandler value)
 Informs about finished drawing stage that had required a long time. More...
 
 Slide (System::SharedPtr< SlideCollection > parentImmediate)
 
virtual void ScaleGeometry (float scalingCoefX, float scalingCoefY, float scalingContentCoef)
 
void Draw (System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< InterruptionToken > interruptionToken)
 
void Draw (System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< IShapeFrame > frame, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< InterruptionToken > interruptionToken)
 
System::SharedPtr< Export::ApsPptxCanvas > SaveToAps (System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< InterruptionToken > interruptionToken)
 
System::SharedPtr< Export::ApsPptxCanvas > SaveToAps (bool saveMetafileAsPng, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< InterruptionToken > interruptionToken)
 
System::SharedPtr< Export::ApsPptxCanvas > SaveToAps (System::SharedPtr< Export::ApsPptxCanvas > canvas, bool saveMetafileAsPng, System::SharedPtr< IShapeFrame > frame, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< InterruptionToken > interruptionToken)
 
System::SharedPtr< Export::ApsPptxCanvas > SaveToAps (bool saveMetafileAsPng, System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>> imageCache, System::SharedPtr< Drawing::RenderingOptions > renderingOptions, System::SharedPtr< System::Collections::Generic::SortedList< int32_t, int32_t >> slideNumber2exportPosition, System::SharedPtr< InterruptionToken > interruptionToken)
 
void SetLayoutSlideInternal (System::SharedPtr< ILayoutSlide > layout)
 
void SetLayoutSlideInternalRaw (System::SharedPtr< Aspose::Slides::LayoutSlide > layout)
 
void AddComment (System::SharedPtr< IComment > comment)
 
void RemoveComment (System::SharedPtr< IComment > comment)
 
virtual System::ArrayPtr< System::SharedPtr< Shape > > GetPlaceholders (System::SharedPtr< IPlaceholder > placeholder)
 
- Protected Member Functions inherited from Aspose::Slides::BaseSlide
uint64_t get_SlideInternalId ()
 
System::SharedPtr< Theme::IThemeManagerget_ThemeManagerInternal ()
 
uint32_t get_NextShapeId ()
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 
System::SharedPtr< Aspose::Slides::Presentationget_PresentationInternal ()
 
 BaseSlide (System::SharedPtr< IDOMObject > parentImmediate)
 Creates new Slide - called by Presentation to create a slide from scratch. You should not be calling this from application code (its protected anyhow). More...
 
void UpdateNextVmlSpId (System::String spid)
 
System::String GenerateSpId ()
 
System::SharedPtr< ColorFormatGetSchemeColor (SchemeColor color)
 Returns color format of effective scheme color. Use as readonly value only! More...
 
void InitSlideShowTransition ()
 Inits slide show transition. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Shape > > > GetAllShapes ()
 
System::SharedPtr< ShapeFindShapeByPlaceholderType (PlaceholderType placeholderType)
 
System::SharedPtr< ShapeFindShapeByPlaceholderIndex (uint32_t index)
 
void ApplyDefaultTextStyle (System::SharedPtr< ITextStyle > style)
 
void ApplyShapesStyles (System::SharedPtr< IBaseSlide > sourceSlide)
 
void PptxAfterInit ()
 
uint32_t CreateShapeId ()
 
void UpdateNextShapeId (uint32_t newNextId, bool check)
 
System::SharedPtr< FillParam > GetBackgroundFillParam (System::SharedPtr< Aspose::Slides::Background > background, System::SharedPtr< ShapeFrame > shapeFrame, System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< Drawing::RenderContext > renderContext)
 
System::SharedPtr< ShapeFrameGetEntireSlideFrame ()
 
System::SharedPtr< MasterSlideGetMasterSlideInternal ()
 Returns master slide for a slide or null if none can be found. More...
 
void DrawLicensing (System::SharedPtr< Drawing::Canvas > canvas)
 
void ScaleGeometry (float scalingCoefX, float scalingCoefY)
 
virtual void LocateGeometry (float locatingCoefX, float locatingCoefY)
 
void SetParent (System::SharedPtr< IDOMObject > parentImmediate)
 

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...
 
- Static Protected Member Functions inherited from Aspose::Slides::BaseSlide
static bool CheckScaleCoefficient (float scalingCoef)
 
static bool CheckScaleCoefficients (float scalingCoefX, float scalingCoefY)
 
- Static Protected Attributes inherited from Aspose::Slides::BaseSlide
static const float SCALING_MIN_COEF
 
static System::ArrayPtr< System::SharedPtr< BaseSlide > > emptySlides
 
static System::ArrayPtr< System::SharedPtr< Shape > > emptyShapes
 

Detailed Description

Represents a slide in a presentation.

Member Typedef Documentation

◆ LongDrawingStageFinishedHandler

Constructor & Destructor Documentation

◆ Slide()

Aspose::Slides::Slide::Slide ( System::SharedPtr< SlideCollection parentImmediate)
protected

Member Function Documentation

◆ AddComment()

void Aspose::Slides::Slide::AddComment ( System::SharedPtr< IComment comment)
protected

◆ Draw() [1/2]

void Aspose::Slides::Slide::Draw ( System::SharedPtr< Drawing::Canvas >  canvas,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ Draw() [2/2]

void Aspose::Slides::Slide::Draw ( System::SharedPtr< Drawing::Canvas >  canvas,
System::SharedPtr< IShapeFrame frame,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ get_BaseSlidePPTUnsupportedProps()

virtual System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps> Aspose::Slides::Slide::get_BaseSlidePPTUnsupportedProps ( )
protectedvirtual

◆ get_BaseSlidePPTXUnsupportedProps()

virtual System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps> Aspose::Slides::Slide::get_BaseSlidePPTXUnsupportedProps ( )
protectedvirtual

◆ get_BaseSlides()

virtual System::ArrayPtr<System::SharedPtr<IBaseSlide> > Aspose::Slides::Slide::get_BaseSlides ( )
protectedvirtual

Reimplemented from Aspose::Slides::BaseSlide.

◆ get_HeaderFooterManager()

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

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

Implements Aspose::Slides::ISlide.

◆ get_HeaderFooterManagerInternal()

System::SharedPtr<SlideHeaderFooterManager> Aspose::Slides::Slide::get_HeaderFooterManagerInternal ( )
protected

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

◆ get_Hidden()

bool Aspose::Slides::Slide::get_Hidden ( )
virtual

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

Implements Aspose::Slides::ISlide.

◆ get_LayoutSlide()

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

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

Implements Aspose::Slides::ISlide.

◆ get_LayoutSlideInternal()

System::SharedPtr<Aspose::Slides::LayoutSlide> Aspose::Slides::Slide::get_LayoutSlideInternal ( )
protected

Direct access to the layout. Layout is attached not as template in this case.

◆ get_LongDrawingStageCount()

int32_t Aspose::Slides::Slide::get_LongDrawingStageCount ( )
protected

Returns drawing stage count witch required a long time. This property must to match LongDrawingStageFinished handler call count.

◆ get_MasterSlide()

System::SharedPtr<IMasterSlide> Aspose::Slides::Slide::get_MasterSlide ( )
protected

◆ get_NotesSlideManager()

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

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

Implements Aspose::Slides::ISlide.

◆ get_PPTUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTUnsupportedProps::SlideOrLayoutPPTUnsupportedProps> Aspose::Slides::Slide::get_PPTUnsupportedProps ( )
protected

◆ get_PPTXUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTXUnsupportedProps::SlidePPTXUnsupportedProps> Aspose::Slides::Slide::get_PPTXUnsupportedProps ( )
protected

◆ get_ShowMasterShapes()

virtual bool Aspose::Slides::Slide::get_ShowMasterShapes ( )
virtual

Specifies if shapes on the master slide should be shown on slides or not. Read bool.

Implements Aspose::Slides::BaseSlide.

◆ get_SlideNumber()

int32_t Aspose::Slides::Slide::get_SlideNumber ( )
virtual

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

Implements Aspose::Slides::ISlide.

◆ get_SlideNumberInternal()

int32_t Aspose::Slides::Slide::get_SlideNumberInternal ( )
protected

This property is used to correctly set the slide number in Notes mode.

◆ get_ThemeManager()

System::SharedPtr<Theme::IOverrideThemeManager> Aspose::Slides::Slide::get_ThemeManager ( )
virtual

Returns the overriding theme manager. Read-only IOverrideThemeManager.

Implements Aspose::Slides::Theme::IOverrideThemeable.

◆ GetPlaceholders()

virtual System::ArrayPtr<System::SharedPtr<Shape> > Aspose::Slides::Slide::GetPlaceholders ( System::SharedPtr< IPlaceholder placeholder)
protectedvirtual

Reimplemented from Aspose::Slides::BaseSlide.

◆ GetSlideComments()

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

Returns all slide comments added by specific author.

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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [1/7]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( float  scaleX,
float  scaleY 
)
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.

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [2/7]

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

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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [3/7]

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

Returns a Thumbnail Bitmap object with specified size.

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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [4/7]

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

Returns a Thumbnail tiff bitmap object with specified parameters.

Parameters
optionsTiff options.
Returns
Bitmap object.

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [5/7]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting)
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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [6/7]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
float  scaleX,
float  scaleY 
)
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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [7/7]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::Drawing::Size  imageSize 
)
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

Implements Aspose::Slides::ISlide.

◆ JoinPortionsWithSameFormatting()

virtual void Aspose::Slides::Slide::JoinPortionsWithSameFormatting ( )
virtual

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

Reimplemented from Aspose::Slides::BaseSlide.

◆ Remove()

void Aspose::Slides::Slide::Remove ( )
virtual

Removes slide from presentation.

Exceptions
PptxEditExceptionThrown if slide is already removed from presentation.

Implements Aspose::Slides::ISlide.

◆ RemoveComment()

void Aspose::Slides::Slide::RemoveComment ( System::SharedPtr< IComment comment)
protected

◆ RenderToGraphics() [1/3]

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

Renders certain slide to a Graphics object using specified size.

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

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [2/3]

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

Renders certain slide to a Graphics object using specified scale.

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

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [3/3]

void Aspose::Slides::Slide::RenderToGraphics ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::SharedPtr< System::Drawing::Graphics graphics 
)
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

Implements Aspose::Slides::ISlide.

◆ Reset()

void Aspose::Slides::Slide::Reset ( )
virtual

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

Implements Aspose::Slides::ISlide.

◆ SaveToAps() [1/4]

System::SharedPtr<Export::ApsPptxCanvas> Aspose::Slides::Slide::SaveToAps ( System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ SaveToAps() [2/4]

System::SharedPtr<Export::ApsPptxCanvas> Aspose::Slides::Slide::SaveToAps ( bool  saveMetafileAsPng,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ SaveToAps() [3/4]

System::SharedPtr<Export::ApsPptxCanvas> Aspose::Slides::Slide::SaveToAps ( System::SharedPtr< Export::ApsPptxCanvas >  canvas,
bool  saveMetafileAsPng,
System::SharedPtr< IShapeFrame frame,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ SaveToAps() [4/4]

System::SharedPtr<Export::ApsPptxCanvas> Aspose::Slides::Slide::SaveToAps ( bool  saveMetafileAsPng,
System::SharedPtr< Aspose::Foundation::Utils::Cache< System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheKey >, System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo >>>  imageCache,
System::SharedPtr< Drawing::RenderingOptions >  renderingOptions,
System::SharedPtr< System::Collections::Generic::SortedList< int32_t, int32_t >>  slideNumber2exportPosition,
System::SharedPtr< InterruptionToken interruptionToken 
)
protected

◆ ScaleGeometry()

virtual void Aspose::Slides::Slide::ScaleGeometry ( float  scalingCoefX,
float  scalingCoefY,
float  scalingContentCoef 
)
protectedvirtual

Reimplemented from Aspose::Slides::BaseSlide.

◆ set_Hidden()

void Aspose::Slides::Slide::set_Hidden ( bool  value)
virtual

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

Implements Aspose::Slides::ISlide.

◆ set_LayoutSlide()

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

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

Implements Aspose::Slides::ISlide.

◆ set_LayoutSlideInternal()

void Aspose::Slides::Slide::set_LayoutSlideInternal ( System::SharedPtr< Aspose::Slides::LayoutSlide value)
protected

Direct access to the layout. Layout is attached not as template in this case.

◆ set_LongDrawingStageFinished()

void Aspose::Slides::Slide::set_LongDrawingStageFinished ( Aspose::Slides::Slide::LongDrawingStageFinishedHandler  value)
protected

Informs about finished drawing stage that had required a long time.

◆ set_ShowMasterShapes()

virtual void Aspose::Slides::Slide::set_ShowMasterShapes ( bool  value)
virtual

Specifies if shapes on the master slide should be shown on slides or not. Write bool.

Implements Aspose::Slides::BaseSlide.

◆ set_SlideNumber()

void Aspose::Slides::Slide::set_SlideNumber ( int32_t  value)
virtual

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

Implements Aspose::Slides::ISlide.

◆ set_SlideNumberInternal()

void Aspose::Slides::Slide::set_SlideNumberInternal ( int32_t  value)
protected

This property is used to correctly set the slide number in Notes mode.

◆ SetLayoutSlideInternal()

void Aspose::Slides::Slide::SetLayoutSlideInternal ( System::SharedPtr< ILayoutSlide layout)
protected

◆ SetLayoutSlideInternalRaw()

void Aspose::Slides::Slide::SetLayoutSlideInternalRaw ( System::SharedPtr< Aspose::Slides::LayoutSlide layout)
protected

◆ WriteAsSvg() [1/2]

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

Saves content of slide as SVG file.

Parameters
streamTarget stream

Implements Aspose::Slides::ISlide.

◆ WriteAsSvg() [2/2]

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

Saves content of slide as SVG file.

Parameters
streamTarget stream
svgOptionsSVG generation options

Implements Aspose::Slides::ISlide.