Class ImageConverterOptions
- Namespace
- Slidize
- Assembly
- Slidize.Plugins.dll
Provides options that control how a presentation slides should be rendered.
public sealed class ImageConverterOptions : ConverterOptions
- Inheritance
-
ImageConverterOptions
- Inherited Members
Examples
The following example shows how to convert PowerPoint document to PNG format with custom options.
[C#]
ImageConverterOptions options = new()
{
ImageWidth = 960,
ImageHeight = 720,
SlidesViewOptions = new NotesCommentsViewOptions
{
NotesPosition = NotesPositions.BottomTruncated
}
};
PresentationToPngConverter.Process("pres.pptx", "pres.png", options);
Constructors
ImageConverterOptions()
Initializes a new instance of the ImageConverterOptions class.
public ImageConverterOptions()
Properties
ImageHeight
Returns or sets a height of the generated image. Read/write int.
public int ImageHeight { get; set; }
Property Value
ImageScale
Returns or sets a scale of the generated image. Read/write float.
public float ImageScale { get; set; }
Property Value
ImageWidth
Returns or sets a width of the generated image. Read/write int.
public int ImageWidth { get; set; }