Slide
Slide class
Represents a slide in a presentation.
| Name | Description |
|---|
| getHeaderFooterManager () | Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. |
Returns:
SlideHeaderFooterManager
getHidden
| Name | Description |
|---|
| getHidden () | Determines whether the specified slide is hidden during a slide show. Read/write boolean. |
Returns:
boolean
getImage
| Name | Description |
|---|
| getImage (float, float) | Returns a Thumbnail Image object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns:
SlidesImage
getImage
| Name | Description |
|---|
| getImage () | Returns a Thumbnail Image object (20% of real size). |
Returns:
SlidesImage
getImage
| Name | Description |
|---|
| getImage (Dimension) | Returns a Thumbnail Image object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| imageSize | Dimension | Size of the image to create. |
Returns:
SlidesImage
getImage
| Name | Description |
|---|
| getImage (TiffOptions) | Returns a Thumbnail tiff image object with specified parameters. |
Parameters:
Returns:
SlidesImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull. |
getImage
Parameters:
Returns:
SlidesImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getImage
| Name | Description |
|---|
| getImage (RenderingOptions, float, float) | Returns a Thumbnail Image object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns:
SlidesImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getImage
| Name | Description |
|---|
| getImage (RenderingOptions, Dimension) | Returns a Thumbnail Image object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| imageSize | Dimension | Size of the image to create. |
Returns:
SlidesImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull. |
getLayoutSlide
| Name | Description |
|---|
| getLayoutSlide () | Returns or sets the layout slide for the current slide. Read/write ILayoutSlide. |
Returns:
LayoutSlide
getNotesSlideManager
| Name | Description |
|---|
| getNotesSlideManager () | Allow to access notes slide, add and remove it. Read-only INotesSlideManager. |
Returns:
NotesSlideManager
getShowMasterShapes
| Name | Description |
|---|
| getShowMasterShapes () | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
Returns:
boolean
| Name | Description |
|---|
| getSlideComments (CommentAuthor) | Returns all slide comments added by specific author. |
Parameters:
| Name | Type | Description |
|---|
| author | CommentAuthor | Author of comments to find or null to return all comments. |
Returns:
Comment, ModernComment
getSlideNumber
| Name | Description |
|---|
| getSlideNumber () | Returns a number of slide. Index of slide in Presentation#getSlides collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read/write int. |
Returns:
int
getThemeManager
| Name | Description |
|---|
| getThemeManager () | Returns the overriding theme manager. Read-only IOverrideThemeManager. |
Returns:
ChartThemeManager, SlideThemeManager, LayoutSlideThemeManager, BaseOverrideThemeManager, NotesSlideThemeManager
getThumbnail
| Name | Description |
|---|
| getThumbnail (float, float) | Returns a Thumbnail Bitmap object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail () | Returns a Thumbnail Image object (20% of real size). |
Returns:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions) | Returns a Thumbnail Bitmap object. |
Parameters:
Returns:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
| Name | Description |
|---|
| getThumbnail (Dimension) | Returns a Thumbnail Image object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| imageSize | Dimension | Size of the image to create. |
Returns:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail (TiffOptions) | Returns a Thumbnail tiff image object with specified parameters. |
Parameters:
Returns:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull. |
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions, float, float) | Returns a Thumbnail Image object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Returns:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions, Dimension) | Returns a Thumbnail BufferedImage object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| imageSize | Dimension | Size of the image to create. |
Returns:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.SlideLayoutOption is NotesCommentsLayoutingOptions and its property NotesPosition takes the value NotesPositions.BottomFull. |
| Name | Description |
|---|
| joinPortionsWithSameFormatting () | Joins runs with same formatting in all paragraphs in all acceptable shapes. |
remove
| Name | Description |
|---|
| remove () | Removes slide from presentation. |
Error
| Error | Condition |
|---|
| PptxEditException | Thrown if slide is already removed from presentation. |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D) | Renders certain slide to a Graphics object. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D, float, float) | Renders certain slide to a Graphics object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| scaleX | float | The scale for rendering the slide (1.0 is 100%) in the x-axis direction. |
| scaleY | float | The scale for rendering the slide (1.0 is 100%) in the y-axis direction. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D, Dimension) | Renders certain slide to a Graphics object using specified size. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| renderingSize | Dimension | The maximum dimensions (in pixels) that can be occupied by the rendered slide. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
reset
| Name | Description |
|---|
| reset () | Resets position, size and formatting of every shape that has a prototype on LayoutSlide. |
setHidden
| Name | Description |
|---|
| setHidden (boolean) | Determines whether the specified slide is hidden during a slide show. Read/write boolean. |
setLayoutSlide
| Name | Description |
|---|
| setLayoutSlide (LayoutSlide) | Returns or sets the layout slide for the current slide. Read/write ILayoutSlide. |
setShowMasterShapes
| Name | Description |
|---|
| setShowMasterShapes (boolean) | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
setSlideNumber
| Name | Description |
|---|
| setSlideNumber (int) | Returns a number of slide. Index of slide in Presentation#getSlides collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read/write int. |
writeAsEmfToStream
| Name | Description |
|---|
| writeAsEmfToStream (Slide, WriteStream) | Saves the slide content as an EMF file. |
Parameters:
| Name | Type | Description |
|---|
| slide | Slide | link to self |
| stream | WriteStream | Target stream |
Error
| Error | Condition |
|---|
| ArgumentNullException | Target stream is {@code null} |
writeAsSvgToStream
| Name | Description |
|---|
| writeAsSvgToStream (Slide, WriteStream) | Saves the slide content as an SVG file. |
Parameters:
| Name | Type | Description |
|---|
| slide | Slide | link to self |
| stream | WriteStream | Target stream |
writeAsSvgToStream
| Name | Description |
|---|
| writeAsSvgToStream (Slide, WriteStream, SVGOptions) | Saves the slide content as an SVG file. |
Parameters:
| Name | Type | Description |
|---|
| slide | Slide | link to self |
| stream | WriteStream | Target stream |
| svgOptions | SVGOptions | SVG generation options |