Aspose::Slides::Slide Class Referencefinal

Represents a slide in a presentation. More...

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

Public Member Functions

System::SharedPtr< ISlideHeaderFooterManagerget_HeaderFooterManager () override
 Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. More...
 
System::SharedPtr< Theme::IOverrideThemeManagerget_ThemeManager () override
 Returns the overriding theme manager. Read-only Theme::IOverrideThemeManager. More...
 
int32_t get_SlideNumber () override
 Returns a number of slide. Index of slide in Presentation::get_Slides() collection is always equal to SlideNumber - Presentation::get(set)_FirstSlideNumber. Read int32_t. More...
 
void set_SlideNumber (int32_t value) override
 Returns a number of slide. Index of slide in Presentation::get_Slides() collection is always equal to SlideNumber - Presentation::get(set)_FirstSlideNumber. Write int32_t. More...
 
bool get_Hidden () override
 Determines whether the specified slide is hidden during a slide show. Read bool. More...
 
void set_Hidden (bool value) override
 Determines whether the specified slide is hidden during a slide show. Write bool. More...
 
bool get_ShowMasterShapes () override
 Specifies if shapes on the master slide should be shown on slides or not. Read bool. More...
 
void set_ShowMasterShapes (bool value) override
 Specifies if shapes on the master slide should be shown on slides or not. Write bool. More...
 
System::SharedPtr< ILayoutSlideget_LayoutSlide () override
 Returns the layout slide for the current slide. Read ILayoutSlide. More...
 
void set_LayoutSlide (System::SharedPtr< ILayoutSlide > value) override
 Sets the layout slide for the current slide. Write ILayoutSlide. More...
 
System::SharedPtr< INotesSlideManagerget_NotesSlideManager () override
 Allow to access notes slide, add and remove it. Read-only INotesSlideManager. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail () override
 Returns a Thumbnail Image object (20% of real size). More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap object with specified size. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::ITiffOptions > options) override
 Returns a Thumbnail tiff bitmap object with specified parameters. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting) override
 Returns a Thumbnail Bitmap object. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::Drawing::Size imageSize) override
 Returns a Thumbnail Bitmap object with specified size. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::IRenderingOptions > options) override
 Returns a Thumbnail Bitmap object. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::IRenderingOptions > options, float scaleX, float scaleY) override
 Returns a Thumbnail Bitmap object with custom scaling. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (System::SharedPtr< Export::IRenderingOptions > options, System::Drawing::Size imageSize) override
 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) override
 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) override
 Renders certain slide to a Graphics object using specified scale. More...
 
void RenderToGraphics (System::SharedPtr< Export::INotesCommentsLayoutingOptions > notesCommentsLayouting, System::SharedPtr< System::Drawing::Graphics > graphics) override
 Renders certain slide to a Graphics object. More...
 
void RenderToGraphics (System::SharedPtr< Export::IRenderingOptions > options, System::SharedPtr< System::Drawing::Graphics > graphics) override
 Renders certain slide to a Graphics object. More...
 
void RenderToGraphics (System::SharedPtr< Export::IRenderingOptions > options, System::SharedPtr< System::Drawing::Graphics > graphics, float scaleX, float scaleY) override
 Renders certain slide to a Graphics object with custom scaling. More...
 
void RenderToGraphics (System::SharedPtr< Export::IRenderingOptions > options, System::SharedPtr< System::Drawing::Graphics > graphics, System::Drawing::Size renderingSize) override
 Renders certain slide to a Graphics object using specified size. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream) override
 Saves content of slide as SVG file. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Export::ISVGOptions > svgOptions) override
 Saves content of slide as SVG file. More...
 
void Remove () override
 Removes slide from presentation. More...
 
void Reset () override
 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) override
 Returns all slide comments added by specific author. More...
 
void JoinPortionsWithSameFormatting () override
 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 () override
 Returns the shapes of a slide. Read-only IShapeCollection. More...
 
System::SharedPtr< IControlCollectionget_Controls () override
 Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. More...
 
System::String get_Name () override
 Returns the name of a slide. Read System::String. More...
 
void set_Name (System::String value) override
 Sets the name of a slide. Write System::String. More...
 
uint32_t get_SlideId () override
 Returns the ID of a slide. Read-only uint32_t. More...
 
System::SharedPtr< ICustomDataget_CustomData () override
 Returns the slide's custom data. Read-only ICustomData. More...
 
System::SharedPtr< IAnimationTimeLineget_Timeline () override
 Returns animation timeline object. Read-only IAnimationTimeLine. More...
 
System::SharedPtr< ISlideShowTransitionget_SlideShowTransition () override
 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 () override
 Returns slide's background. Read-only IBackground. More...
 
System::SharedPtr< IHyperlinkQueriesget_HyperlinkQueries () override
 Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate () override
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IPresentationget_Presentation () override
 Returns IPresentation interface. Read-only IPresentation. More...
 
System::SharedPtr< IBaseSlideget_Slide () override
 Returns the base slide. Read-only IBaseSlide. More...
 
bool Equals (System::SharedPtr< IBaseSlide > slide) override
 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 () override
 Returns an effective theme for this slide. More...
 
System::SharedPtr< IShapeFindShapeByAltText (System::String altText) override
 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 reference 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 int32_t 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 (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::BaseSlidePPTXUnsupportedProps > get_BaseSlidePPTXUnsupportedProps () override
 
System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTUnsupportedProps::BaseSlidePPTUnsupportedProps > get_BaseSlidePPTUnsupportedProps () override
 
System::ArrayPtr< System::SharedPtr< IBaseSlide > > get_BaseSlides () override
 
void ScaleGeometry (float scalingCoefX, float scalingCoefY, float scalingContentCoef) override
 
System::ArrayPtr< System::SharedPtr< Shape > > GetPlaceholders (System::SharedPtr< IPlaceholder > placeholder) override
 
virtual ~Slide ()
 
- Protected Member Functions inherited from Aspose::Slides::BaseSlide
void InitSlideShowTransition ()
 Inits slide show transition. More...
 
virtual ~BaseSlide ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. 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 ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents a slide in a presentation.

Constructor & Destructor Documentation

◆ ~Slide()

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

Member Function Documentation

◆ get_BaseSlidePPTUnsupportedProps()

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

◆ get_BaseSlidePPTXUnsupportedProps()

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

◆ get_BaseSlides()

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

◆ get_HeaderFooterManager()

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

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

Implements Aspose::Slides::ISlide.

◆ get_Hidden()

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

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 ( )
overridevirtual

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

Implements Aspose::Slides::ISlide.

◆ get_NotesSlideManager()

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

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

Implements Aspose::Slides::ISlide.

◆ get_ShowMasterShapes()

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

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 ( )
overridevirtual

Returns a number of slide. Index of slide in Presentation::get_Slides() collection is always equal to SlideNumber - Presentation::get(set)_FirstSlideNumber. Read int32_t.

Implements Aspose::Slides::ISlide.

◆ get_ThemeManager()

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

Returns the overriding theme manager. Read-only Theme::IOverrideThemeManager.

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

◆ GetPlaceholders()

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

◆ GetSlideComments()

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

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/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( float  scaleX,
float  scaleY 
)
overridevirtual

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/10]

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

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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [3/10]

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

Returns a Thumbnail Bitmap object with specified size.

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

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [4/10]

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

Returns a Thumbnail tiff bitmap object with specified parameters.

Parameters
optionsTiff options.
Returns
Bitmap object.
Exceptions
System::InvalidOperationExceptionThrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull.

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [5/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting)
overridevirtual

Returns a Thumbnail Bitmap object.

Deprecated:
Use Slide.GetThumbnail(IRenderingOptions) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
Returns
Bitmap objects.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [6/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap object with custom scaling.

Deprecated:
Use Slide.GetThumbnail(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.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [7/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::INotesCommentsLayoutingOptions notesCommentsLayouting,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap object with specified size.

Deprecated:
Use Slide.GetThumbnail(IRenderingOptions) 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.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [8/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::IRenderingOptions options)
overridevirtual

Returns a Thumbnail Bitmap object.

Parameters
optionsRendering options.
Returns
Bitmap objects.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [9/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::IRenderingOptions options,
float  scaleX,
float  scaleY 
)
overridevirtual

Returns a Thumbnail Bitmap object with custom scaling.

Parameters
optionsRendering 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.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ GetThumbnail() [10/10]

System::SharedPtr<System::Drawing::Bitmap> Aspose::Slides::Slide::GetThumbnail ( System::SharedPtr< Export::IRenderingOptions options,
System::Drawing::Size  imageSize 
)
overridevirtual

Returns a Thumbnail Bitmap object with specified size.

Parameters
optionsRendering options.
imageSizeSize of the image to create.
Returns
Bitmap objects.
Exceptions
System::InvalidOperationExceptionThrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ JoinPortionsWithSameFormatting()

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

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

Reimplemented from Aspose::Slides::BaseSlide.

◆ Remove()

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

Removes slide from presentation.

Exceptions
PptxEditExceptionThrown if slide is already removed from presentation.

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [1/6]

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

Renders certain slide to a Graphics object using specified size.

Deprecated:
Use Slide.RenderToGraphics(IRenderingOptions, Graphics, int, int) instead. The method will be removed after release of version 21.4.
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
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [2/6]

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

Renders certain slide to a Graphics object using specified scale.

Deprecated:
Use Slide.RenderToGraphics(IRenderingOptions, Graphics, float) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
graphicsThe object where to render to.
scaleThe scale for rendering the slide (1.0 is 100%).
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [3/6]

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

Renders certain slide to a Graphics object.

Deprecated:
Use Slide.RenderToGraphics(IRenderingOptions, Graphics) instead. The method will be removed after release of version 21.4.
Parameters
notesCommentsLayoutingOptions for notes and comments layouting.
graphicsThe object where to render to.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [4/6]

void Aspose::Slides::Slide::RenderToGraphics ( System::SharedPtr< Export::IRenderingOptions options,
System::SharedPtr< System::Drawing::Graphics graphics 
)
overridevirtual

Renders certain slide to a Graphics object.

Parameters
optionsRendering options.
graphicsThe object where to render to.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [5/6]

void Aspose::Slides::Slide::RenderToGraphics ( System::SharedPtr< Export::IRenderingOptions options,
System::SharedPtr< System::Drawing::Graphics graphics,
float  scaleX,
float  scaleY 
)
overridevirtual

Renders certain slide to a Graphics object with custom scaling.

Parameters
optionsRendering options.
graphicsThe object where to render to.
scaleXThe scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scaleYThe scale for rendering the slide (1.0 is 100%) in the y-axis direction.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ RenderToGraphics() [6/6]

void Aspose::Slides::Slide::RenderToGraphics ( System::SharedPtr< Export::IRenderingOptions options,
System::SharedPtr< System::Drawing::Graphics graphics,
System::Drawing::Size  renderingSize 
)
overridevirtual

Renders certain slide to a Graphics object using specified size.

Parameters
optionsRendering options.
graphicsThe object where to render to.
renderingSizeThe maximum dimensions (in pixels) that can be occupied by the rendered slide.
Exceptions
System::InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions::BottomFull

Implements Aspose::Slides::ISlide.

◆ Reset()

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

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

Implements Aspose::Slides::ISlide.

◆ ScaleGeometry()

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

◆ set_Hidden()

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

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)
overridevirtual

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

Implements Aspose::Slides::ISlide.

◆ set_ShowMasterShapes()

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

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)
overridevirtual

Returns a number of slide. Index of slide in Presentation::get_Slides() collection is always equal to SlideNumber - Presentation::get(set)_FirstSlideNumber. Write int32_t.

Implements Aspose::Slides::ISlide.

◆ WriteAsSvg() [1/2]

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

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 
)
overridevirtual

Saves content of slide as SVG file.

Parameters
streamTarget stream
svgOptionsSVG generation options

Implements Aspose::Slides::ISlide.