Class ImageSaveOptions
Save options for exporting slides as raster images (PNG, JPEG, etc.). Inherits common progress/cancellation from SaveOptions.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class ImageSaveOptions : SaveOptions
Properties
DpiX
Gets or sets the horizontal output resolution in dots per inch. Default: 150.
Declaration
public float DpiX { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DpiY
Gets or sets the vertical output resolution in dots per inch. Default: 150. When 0, inherits DpiX.
Declaration
public float DpiY { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
FallbackFontName
Gets or sets the font family name used when a run font cannot be resolved on the system. Default: "Arial".
Declaration
public string FallbackFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FontDirectory
Gets or sets an optional directory containing additional font files (.ttf, .otf).
Declaration
public string FontDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Format
Gets or sets the output image format. Default: Png.
Declaration
public ImageFormat Format { get; set; }
Property Value
| Type | Description |
|---|---|
| ImageFormat |
Height
Gets or sets the output height in pixels. When 0, the height is derived from the slide size and DpiY.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IncludeHiddenSlides
Gets or sets whether hidden slides are included. Default: false.
Declaration
public bool IncludeHiddenSlides { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NotesPosition
Gets or sets the placement of speaker notes in the exported image. Default: None (notes not exported).
Declaration
public NotesPosition NotesPosition { get; set; }
Property Value
| Type | Description |
|---|---|
| NotesPosition |
SlideIndexes
Gets or sets the zero-based indexes of slides to export. When null, all non-hidden slides are exported.
Declaration
public IList<int> SlideIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<int> |
SlideNumber
Gets or sets the 1-based slide number to export. When 0, all non-hidden slides are exported.
Declaration
public int SlideNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Width
Gets or sets the output width in pixels. When 0, the width is derived from the slide size and DpiX.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |