Class TiffConverterOptions
- Namespace
- Slidize
- Assembly
- Slidize.Plugins.dll
Provides options that control how a presentation is converted to TIFF format.
public sealed class TiffConverterOptions : ConverterOptions
- Inheritance
-
TiffConverterOptions
- Inherited Members
Examples
The following example shows how to convert PowerPoint document to multi-page Tiff format with CCITT3 compression scheme and the static threshold algorithm (25%).
[C#]
TiffConverterOptions options = new()
{
MultiPage = true,
CompressionType = TiffCompressionTypes.CCITT3,
BlackWhiteMode = BlackWhiteConversionMode.Threshold25
};
PresentationToTiffConverter.Process("pres.pptx", "pres.tiff", options);
Constructors
TiffConverterOptions()
Initializes a new instance of the TiffConverterOptions class.
public TiffConverterOptions()
Properties
BlackWhiteMode
Specifies the algorithm for converting a color image into a black and white image. This option will applied only if CompressionType is set to CCITT4 or CCITT3 Read/write BlackWhiteConversionMode. Default is Default.
public BlackWhiteConversionMode BlackWhiteMode { get; set; }
Property Value
CompressionType
Specifies the TIFF compression type. Read/write TiffCompressionTypes.
public TiffCompressionTypes CompressionType { get; set; }
Property Value
Dpi
Returns or sets the resolution of the generated TIFF image. Read/write uint.
public uint Dpi { get; set; }
Property Value
ImageHeight
Returns or sets the height of the generated TIFF image. Read/write int.
public int ImageHeight { get; set; }
Property Value
ImageWidth
Returns or sets the width of the generated TIFF image. Read/write int.
public int ImageWidth { get; set; }
Property Value
MultiPage
Specifies whether the generated TIFF document should be a multi-page.
If value is true
, then the result will be a multi-page TIFF document,
if false
then each slide will be saved in separate TIFF document.
Default is false
.
public bool MultiPage { get; set; }
Property Value
PixelFormat
Specifies the pixel format for the generated images. Read/write ImagePixelFormat.
public ImagePixelFormat PixelFormat { get; set; }
Property Value
ShowHiddenSlides
Specifies whether the generated TIFF document should include hidden slides or not.
Default is false
.
public bool ShowHiddenSlides { get; set; }