TiffOptions class

TiffOptions class

Provides options that control how a presentation is saved in TIFF format.

Inheritance:TiffOptionsSaveOptions

The TiffOptions type exposes the following members:

Constructors

ConstructorDescription
__init__Default constructor.

Properties

PropertyDescription
warning_callbackReturns of sets an object which receives warnings and decides whether loading process will continue or will be aborted.
Read/write IWarningCallback.
progress_callbackRepresents a callback object for saving progress updates in percentage.
See IProgressCallback.
default_regular_fontReturns or sets font used in case source font is not found.
Read-write str.
gradient_styleReturns or sets the visual style of the gradient.
Read/write GradientStyle.
skip_java_script_linksSpecifies whether to skip hyperlinks with JavaScript calls when saving the presentation.
Read/write bool. The default value is false .
ink_optionsProvides options that control the look of Ink objects in exported document.
Read-only IInkOptions
show_hidden_slidesSpecifies whether the generated document should include hidden slides or not.
Default is false.
image_sizeSpecifies 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 aspose.pydrawing.Size.
dpi_xSpecifies the horizontal resolution in dots per inch.
Read/write int.
dpi_ySpecifies the vertical resolution in dots per inch.
Read/write int.
compression_typeSpecifies the compression type.
Read/write TiffCompressionTypes.
pixel_formatSpecifies the pixel format for the generated images.
Read/write ImagePixelFormat.
slides_layout_optionsGets or sets the mode in which slides are placed on the page when exporting a presentation ISlidesLayoutOptions.
bw_conversion_modeSpecifies the algorithm for converting a color image into a black and white image.
This option will applied only if TiffOptions.compression_type
is set to TiffCompressionTypes.CCITT4 or TiffCompressionTypes.CCITT3
Read/write BlackWhiteConversionMode.
Default is BlackWhiteConversionMode.DEFAULT.

Examples

The following example shows how to convert PowerPoint to TIFF with default size.

        The following example shows how to convert PowerPoint to TIFF with custom size.

        The following example shows how to convert PowerPoint to TIFF with custom image pixel format.

See Also