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.
|
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.
|
android.graphics.Bitmap |
getThumbnail()
Returns a Thumbnail Image object (20% of real size).
|
android.graphics.Bitmap |
getThumbnail(float scaleX,
float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
|
android.graphics.Bitmap |
getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting)
Returns a Thumbnail Bitmap object.
|
android.graphics.Bitmap |
getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting,
float scaleX,
float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
|
android.graphics.Bitmap |
getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting,
Size imageSize)
Returns a Thumbnail Bitmap object with specified size.
|
android.graphics.Bitmap |
getThumbnail(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
|
android.graphics.Bitmap |
getThumbnail(Size imageSize)
Returns a Thumbnail Bitmap object with specified size.
|
void |
remove()
Removes slide from presentation.
|
void |
renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting,
android.graphics.Canvas graphics)
Renders certain slide to a Graphics object.
|
void |
renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting,
android.graphics.Canvas graphics,
float scale)
Renders certain slide to a Graphics object.
|
void |
renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting,
android.graphics.Canvas graphics,
int width,
int height)
Renders certain slide to a Graphics object.
|
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 |
writeAsSvg(java.io.OutputStream stream)
Saves content of slide as SVG file.
|
void |
writeAsSvg(java.io.OutputStream stream,
ISVGOptions svgOptions)
Saves content of slide as SVG file.
|
createBackgroundEffective, equals, findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getShapes, getShowMasterShapes, getSlideId, getSlideShowTransition, getTimeline, joinPortionsWithSameFormatting, setName, setShowMasterShapes
getThemeManager
createThemeEffective
getSlide
getPresentation
ISlideHeaderFooterManager getHeaderFooterManager()
Returns HeaderFooter manager of the slide.
Read-only ISlideHeaderFooterManager
.
int getSlideNumber()
Returns a number of slide.
Index of slide in IPresentation.Slides
(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.Slides
(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
.
android.graphics.Bitmap 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.android.graphics.Bitmap getThumbnail()
Returns a Thumbnail Image object (20% of real size).
android.graphics.Bitmap getThumbnail(Size imageSize)
Returns a Thumbnail Bitmap object with specified size.
imageSize
- Size of the image to create.android.graphics.Bitmap getThumbnail(ITiffOptions options)
Returns a Thumbnail tiff bitmap object with specified parameters.
options
- Tiff options.android.graphics.Bitmap getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting)
Returns a Thumbnail Bitmap object.
notesCommentsLayouting
- Options for notes and comments layouting.com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFullandroid.graphics.Bitmap getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting, float scaleX, float scaleY)
Returns a Thumbnail Bitmap object with custom scaling.
notesCommentsLayouting
- Options for notes and comments layouting.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.com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFullandroid.graphics.Bitmap getThumbnail(INotesCommentsLayoutingOptions notesCommentsLayouting, Size imageSize)
Returns a Thumbnail Bitmap object with specified size.
notesCommentsLayouting
- Options for notes and comments layouting.imageSize
- Size of the image to create.com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFullvoid renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting, android.graphics.Canvas graphics, int width, int height)
Renders certain slide to a Graphics object.
notesCommentsLayouting
- Options for notes and comments layouting.graphics
- The object where to render to.width
- The maximum width (in pixels) that can be occupied by the rendered slide.height
- The maximum height (in pixels) that can be occupied by the rendered slide.com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFullvoid renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting, android.graphics.Canvas graphics, float scale)
Renders certain slide to a Graphics object.
notesCommentsLayouting
- Options for notes and comments layouting.graphics
- The object where to render to.scale
- The scale for rendering the slide (1.0 is 100%).com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFullvoid renderToGraphics(INotesCommentsLayoutingOptions notesCommentsLayouting, android.graphics.Canvas graphics)
Renders certain slide to a Graphics object.
notesCommentsLayouting
- Options for notes and comments layouting.graphics
- The object where to render to.com.aspose.ms.System.InvalidOperationException
- Thrown when notesCommentsLayouting.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 content of slide as SVG file.
stream
- Target streamvoid writeAsSvg(java.io.OutputStream stream, ISVGOptions svgOptions)
Saves content of slide as SVG file.
stream
- Target streamsvgOptions
- SVG generation optionsvoid 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.