Interface ITiffOptions
Namespace: Aspose.Slides.Export
Assembly: Aspose.Slides.dll (25.12.0)
Provides options that control how a presentation is saved in TIFF format.
[ComVisible(true)]
[Guid("3cb136f3-42ad-4fee-8f79-cc22e91fc1b7")]
public interface ITiffOptions : ISaveOptionsImplements
Properties
AsISaveOptions
Returns ISaveOptions interface. Read-only Aspose.Slides.Export.ISaveOptions.
ISaveOptions AsISaveOptions { get; }Property Value
Remarks
For COM compatibility.
BwConversionMode
Specifies the algorithm for converting a color image into a black and white image. This option will applied only if Aspose.Slides.Export.ITiffOptions.CompressionType is set to Aspose.Slides.Export.TiffCompressionTypes.CCITT4 or Aspose.Slides.Export.TiffCompressionTypes.CCITT3 Read/write Aspose.Slides.Export.BlackWhiteConversionMode. Default is Aspose.Slides.Export.BlackWhiteConversionMode.Default.
BlackWhiteConversionMode BwConversionMode { get; set; }Property Value
Examples
TiffOptions tiffOptions = new TiffOptions();
tiffOptions.CompressionType = TiffCompressionTypes.CCITT4;
tiffOptions.BwConversionMode = BlackWhiteConversionMode.Dithering;
using (var presentation = new Presentation())
{
presentation.Save(tiffFilePath, SaveFormat.Tiff, tiffOptions);
}CompressionType
Specifies the compression type. Read/write Aspose.Slides.Export.TiffCompressionTypes.
TiffCompressionTypes CompressionType { get; set; }Property Value
DpiX
Specifies the horizontal resolution in dots per inch. Read/write System.UInt32.
uint DpiX { get; set; }Property Value
DpiY
Specifies the vertical resolution in dots per inch. Read/write System.UInt32.
uint DpiY { get; set; }Property Value
ImageSize
Specifies size of a generated TIFF image. Default value is 0x0, what means that generated image sizes will be calculated based on presentation slide size value. Read/write System.Drawing.Size.
Size ImageSize { get; set; }Property Value
InkOptions
Provides options that control the look of Ink objects in exported document. Read-only Aspose.Slides.Export.IInkOptions
IInkOptions InkOptions { get; }Property Value
PixelFormat
Specifies the pixel format for the generated images. Read/write Aspose.Slides.Export.ImagePixelFormat.
ImagePixelFormat PixelFormat { get; set; }Property Value
ShowHiddenSlides
Specifies whether the generated document should include hidden slides or not.
Default is false.
bool ShowHiddenSlides { get; set; }Property Value
SlidesLayoutOptions
Gets or sets the mode in which slides are placed on the page when exporting a presentation Aspose.Slides.Export.ISlidesLayoutOptions.
ISlidesLayoutOptions SlidesLayoutOptions { get; set; }Property Value
Examples
Example:
using (Presentation pres = new Presentation("pres.pptx"))
{
TiffOptions options = new TiffOptions
{
SlidesLayoutOptions = new HandoutLayoutingOptions
{
Handout = HandoutType.Handouts4Horizontal
}
};
pres.Save("pres.tiff", SaveFormat.Tiff, options);
}