TiffSettings

Overview

TiffSettings is a class in Aspose.PDF FOSS for .NET.

Settings for TIFF image generation (color depth, compression).

This class declares 11 methods for TiffSettings objects in .NET programs. Available methods include: TiffSettings. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Brightness, Compression, CoordinateType, Depth, Margins, Shape, and 1 more.

Properties

NameTypeAccessDescription
MarginsMarginsReadPage margins applied before the TIFF render.
DepthColorDepthRead/WriteThe color depth (bits per pixel).
CompressionCompressionTypeRead/WriteThe compression algorithm.
SkipBlankPagesboolRead/WriteWhether to skip blank pages during conversion.
BrightnessfloatRead/WriteBrightness adjustment (0.0-1.0, default 0.5).
ShapeShapeTypeRead/WritePreferred page orientation for rendered TIFF output.
CoordinateTypePageCoordinateTypeRead/WriteWhich page box to use for the rendered page extents.

Methods

SignatureDescription
TiffSettings()Initializes default TIFF settings (24bpp, no compression).
TiffSettings(colorDepth: ColorDepth)Initializes TIFF settings with the specified color depth.
TiffSettings(compressionType: CompressionType)Initializes TIFF settings with the specified compression type.
TiffSettings(compression: CompressionType, colorDepth: ColorDepth)Initializes TIFF settings with the specified compression and color depth.
TiffSettings(compressionType: CompressionType, colorDepth: ColorDepth, margins: Margins)Initializes TIFF settings with the specified compression, color depth and margins (margins are stored but not applied by the renderer).
TiffSettings(compressionType: CompressionType, colorDepth: ColorDepth, margins: Margins, skipBlankPages: bool)Initializes TIFF settings with the specified compression, color depth, margins and blank-page skipping.
TiffSettings(compressionType: CompressionType, colorDepth: ColorDepth, margins: Margins, skipBlankPages: bool, shapeType: ShapeType)Initializes TIFF settings with the specified compression, color depth, margins, blank-page skipping and page orientation hint.
TiffSettings(margins: Margins)Initializes default TIFF settings with the specified margins (stored but not applied by the renderer).
TiffSettings(shapeType: ShapeType)Initializes default TIFF settings with the specified page orientation hint (stored only).
TiffSettings(skipBlankPages: bool)Initializes default TIFF settings, optionally skipping blank pages.
TiffSettings(compression: CompressionType, colorDepth: ColorDepth, shape: ShapeType, brightness: float, skipBlankPages: bool)Initializes TIFF settings with all options.

See Also

 English