public interface ISlide extends IBaseSlide, IOverrideThemeable
Represents a slide in a presentation.
| Modifier and Type | Method and Description |
|---|---|
ISlideHeaderFooterManager |
getHeaderFooterManager()
Returns HeaderFooter manager of the slide.
|
boolean |
getHidden()
Determines whether the specified slide is hidden during a slide show.
|
IImage |
getImage()
Returns a Thumbnail Image object (20% of real size).
|
IImage |
getImage(java.awt.Dimension imageSize)
Returns an image object with specified size.
|
IImage |
getImage(float scaleX,
float scaleY)
Returns an image object with custom scaling.
|
IImage |
getImage(IRenderingOptions options)
Returns a Thumbnail Bitmap object.
|
IImage |
getImage(IRenderingOptions options,
java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size.
|
IImage |
getImage(IRenderingOptions options,
float scaleX,
float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
|
IImage |
getImage(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
|
ILayoutSlide |
getLayoutSlide()
Returns or sets the layout slide for the current slide.
|
INotesSlideManager |
getNotesSlideManager()
Allow to access notes slide, add and remove it.
|
IComment[] |
getSlideComments(ICommentAuthor author)
Returns all slide comments added by specific author.
|
int |
getSlideNumber()
Returns a number of slide.
|
java.awt.image.BufferedImage |
getThumbnail()
Deprecated.
Use GetImage method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(java.awt.Dimension imageSize)
Deprecated.
Use GetImage(Size imageSize) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(float scaleX,
float scaleY)
Deprecated.
Use GetImage(float scaleX, float scaleY) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(IRenderingOptions options)
Deprecated.
Use GetImage(IRenderingOptions options) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(IRenderingOptions options,
java.awt.Dimension imageSize)
Deprecated.
Use GetImage(IRenderingOptions options, Size imageSize) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(IRenderingOptions options,
float scaleX,
float scaleY)
Deprecated.
Use GetImage(IRenderingOptions options, float scaleX, float scaleY) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getThumbnail(ITiffOptions options)
Deprecated.
Use GetImage(ITiffOptions options) method instead. The method will be removed after release of version 24.7.
|
void |
remove()
Removes slide from presentation.
|
void |
renderToGraphics(IRenderingOptions options,
java.awt.Graphics2D graphics)
Deprecated.
The method will be removed after release of version 24.7.
|
void |
renderToGraphics(IRenderingOptions options,
java.awt.Graphics2D graphics,
java.awt.Dimension renderingSize)
Deprecated.
The method will be removed after release of version 24.7.
|
void |
renderToGraphics(IRenderingOptions options,
java.awt.Graphics2D graphics,
float scaleX,
float scaleY)
Deprecated.
The method will be removed after release of version 24.7.
|
void |
reset()
Resets position, size and formatting of every shape that has a prototype on LayoutSlide.
|
void |
setHidden(boolean value)
Determines whether the specified slide is hidden during a slide show.
|
void |
setLayoutSlide(ILayoutSlide value)
Returns or sets the layout slide for the current slide.
|
void |
setSlideNumber(int value)
Returns a number of slide.
|
void |
writeAsEmf(java.io.OutputStream stream)
Saves the slide content as an EMF file.
|
void |
writeAsSvg(java.io.OutputStream stream)
Saves the slide content as an SVG file.
|
void |
writeAsSvg(java.io.OutputStream stream,
ISVGOptions svgOptions)
Saves the slide content as an SVG file.
|
equals, findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getShapes, getShowMasterShapes, getSlideId, getSlideShowTransition, getTimeline, joinPortionsWithSameFormatting, setName, setShowMasterShapesgetThemeManagercreateThemeEffectivegetSlidegetPresentationISlideHeaderFooterManager getHeaderFooterManager()
Returns HeaderFooter manager of the slide.
Read-only ISlideHeaderFooterManager.
int getSlideNumber()
Returns a number of slide.
Index of slide in IPresentation.getSlides() collection is always equal to SlideNumber - 1.
Read/write int.
void setSlideNumber(int value)
Returns a number of slide.
Index of slide in IPresentation.getSlides() collection is always equal to SlideNumber - 1.
Read/write int.
boolean getHidden()
Determines whether the specified slide is hidden during a slide show. Read/write boolean.
void setHidden(boolean value)
Determines whether the specified slide is hidden during a slide show. Read/write boolean.
@Deprecated
java.awt.image.BufferedImage getThumbnail(float scaleX,
float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
scaleX - The value by which to scale this Thumbnail in the x-axis direction.scaleY - The value by which to scale this Thumbnail in the y-axis direction.BufferedImageIImage getImage(float scaleX, float scaleY)
Returns an image object with custom scaling.
scaleX - The value by which to scale this Thumbnail in the x-axis direction.scaleY - The value by which to scale this Thumbnail in the y-axis direction.BufferedImage@Deprecated java.awt.image.BufferedImage getThumbnail()
Returns a Thumbnail Image object (20% of real size).
BufferedImageIImage getImage()
Returns a Thumbnail Image object (20% of real size).
BufferedImage@Deprecated java.awt.image.BufferedImage getThumbnail(java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size.
imageSize - Size of the image to create.IImage getImage(java.awt.Dimension imageSize)
Returns an image object with specified size.
imageSize - Size of the image to create.@Deprecated java.awt.image.BufferedImage getThumbnail(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
options - Tiff options.IImage getImage(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
options - Tiff options.@Deprecated java.awt.image.BufferedImage getThumbnail(IRenderingOptions options)
Returns a Thumbnail Bitmap object.
options - Rendering options.IImage getImage(IRenderingOptions options)
Returns a Thumbnail Bitmap object.
options - Rendering options.@Deprecated java.awt.image.BufferedImage getThumbnail(IRenderingOptions options, float scaleX, float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
options - Rendering options.scaleX - The value by which to scale this Thumbnail in the x-axis direction.scaleY - The value by which to scale this Thumbnail in the y-axis direction.IImage getImage(IRenderingOptions options, float scaleX, float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
options - Rendering options.scaleX - The value by which to scale this Thumbnail in the x-axis direction.scaleY - The value by which to scale this Thumbnail in the y-axis direction.@Deprecated java.awt.image.BufferedImage getThumbnail(IRenderingOptions options, java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size.
options - Rendering options.imageSize - Size of the image to create.IImage getImage(IRenderingOptions options, java.awt.Dimension imageSize)
Returns a Thumbnail Bitmap object with specified size.
options - Rendering options.imageSize - Size of the image to create.@Deprecated void renderToGraphics(IRenderingOptions options, java.awt.Graphics2D graphics)
Renders certain slide to a Graphics object.
options - Rendering options.graphics - The object where to render to.com.aspose.ms.System.InvalidOperationException - Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull@Deprecated void renderToGraphics(IRenderingOptions options, java.awt.Graphics2D graphics, float scaleX, float scaleY)
Renders certain slide to a Graphics object with custom scaling.
options - Rendering options.graphics - The object where to render to.scaleX - The scale for rendering the slide (1.0 is 100%) in the x-axis direction.scaleY - The scale for rendering the slide (1.0 is 100%) in the y-axis direction.com.aspose.ms.System.InvalidOperationException - Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull@Deprecated void renderToGraphics(IRenderingOptions options, java.awt.Graphics2D graphics, java.awt.Dimension renderingSize)
Renders certain slide to a Graphics object using specified size.
options - Rendering options.graphics - The object where to render to.renderingSize - The maximum dimensions (in pixels) that can be occupied by the rendered slide.com.aspose.ms.System.InvalidOperationException - Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFullILayoutSlide getLayoutSlide()
Returns or sets the layout slide for the current slide.
Read/write ILayoutSlide.
void setLayoutSlide(ILayoutSlide value)
Returns or sets the layout slide for the current slide.
Read/write ILayoutSlide.
INotesSlideManager getNotesSlideManager()
Allow to access notes slide, add and remove it.
Read-only INotesSlideManager.
IComment[] getSlideComments(ICommentAuthor author)
Returns all slide comments added by specific author.
author - Author of comments to find or null to return all comments.IComment.void writeAsSvg(java.io.OutputStream stream)
Saves the slide content as an SVG file.
stream - Target streamvoid writeAsSvg(java.io.OutputStream stream,
ISVGOptions svgOptions)
Saves the slide content as an SVG file.
stream - Target streamsvgOptions - SVG generation optionsvoid writeAsEmf(java.io.OutputStream stream)
Saves the slide content as an EMF file.
stream - Target streamvoid remove()
Removes slide from presentation.
PptxEditException - Thrown if slide is already removed from presentation.void reset()
Resets position, size and formatting of every shape that has a prototype on LayoutSlide.
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.