• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PresentationImageExporter

Extension methods for exporting Presentation slides as raster images.

Inheritance
object
PresentationImageExporter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Export.Image
Assembly: DRIT.Presentation.dll
Syntax
public static class PresentationImageExporter

Methods

RenderSlideToImage(Presentation, int, PresentationImageSaveOptions?)

Returns a single DRIT.Drawing.Imaging.Bitmap for the specified slide (0-based index). The caller is responsible for disposing the bitmap.

Declaration
public static Bitmap RenderSlideToImage(this Presentation presentation, int slideIndex, PresentationImageSaveOptions? options = null)
Parameters
Type Name Description
Presentation presentation
int slideIndex
PresentationImageSaveOptions options
Returns
Type Description
Bitmap

RenderToImages(Presentation, PresentationImageSaveOptions?)

Returns one DRIT.Drawing.Imaging.Bitmap per exported slide. The caller is responsible for disposing each bitmap.

Declaration
public static IReadOnlyList<Bitmap> RenderToImages(this Presentation presentation, PresentationImageSaveOptions? options = null)
Parameters
Type Name Description
Presentation presentation
PresentationImageSaveOptions options
Returns
Type Description
IReadOnlyList<Bitmap>

RenderToImages(Presentation, ImageSaveOptions)

Returns one DRIT.Drawing.Imaging.Bitmap per exported slide using the unified ImageSaveOptions (Phase 4.1 hierarchy). The caller is responsible for disposing each bitmap.

Declaration
public static IReadOnlyList<Bitmap> RenderToImages(this Presentation presentation, ImageSaveOptions options)
Parameters
Type Name Description
Presentation presentation
ImageSaveOptions options
Returns
Type Description
IReadOnlyList<Bitmap>

SaveAsEmf(Presentation, string, PresentationImageSaveOptions?)

Saves each selected slide as an Enhanced Metafile (EMF) file using the shared vector rendering pipeline.

Declaration
public static void SaveAsEmf(this Presentation presentation, string pathPattern, PresentationImageSaveOptions? options = null)
Parameters
Type Name Description
Presentation presentation

The presentation to export.

string pathPattern

Output path, optionally containing the {slide} token.

PresentationImageSaveOptions options

Image options controlling slide selection, resolution, and fonts.

SaveAsImage(Presentation, string, PresentationImageSaveOptions?)

Saves each selected slide as an image file. pathPattern may contain {slide} (1-based index) and {name} (slide name) tokens. Example: "output_slide{slide}.png"

Declaration
public static void SaveAsImage(this Presentation presentation, string pathPattern, PresentationImageSaveOptions? options = null)
Parameters
Type Name Description
Presentation presentation
string pathPattern
PresentationImageSaveOptions options

SaveAsImage(Presentation, string, ImageSaveOptions)

Saves each selected slide as an image file using the unified ImageSaveOptions (Phase 4.1 hierarchy).

Declaration
public static void SaveAsImage(this Presentation presentation, string pathPattern, ImageSaveOptions options)
Parameters
Type Name Description
Presentation presentation
string pathPattern
ImageSaveOptions options
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX