JpegSaveOptions

JpegSaveOptions class

Jpeg Save options for image documents.

public sealed class JpegSaveOptions : ImageSaveOptions

Constructors

Name Description
JpegSaveOptions() Creates JpegSaveOptions with default values.

Properties

Name Description
AddMissingExtenstion { get; set; } Gets or sets flag to automatically add extension when it was missing in output file path Default value is false.
BitsPerChannel { get; set; } Gets or sets bits per channel for lossless jpeg image. Now we support from 2 to 8 bits per channel.
ColorType { get; set; } Gets or sets the color type for jpeg image.
Comment { get; set; } Gets or sets the jpeg file comment.
CompressionType { get; set; } Gets or sets the compression type.
FileFormat { get; set; } Gets or sets file format of signed document.
OverwriteExistingFiles { get; set; } Gets or sets whether to overwrite existing file with new output file. Otherwise new file will be created with number as suffix. By default this value set to true that means file will be overwritten.
Password { get; set; } Gets or sets password to save signed document with password protection. This property is not supported for Image documents.
Quality { get; set; } Gets or sets image quality.
SampleRoundingMode { get; set; } Gets or sets the sample rounding mode to fit an 8-bit value to an n-bit value JpegOptions.BitsPerChannel.
UseOriginalPassword { get; set; } Gets or sets whether to use password from LoadOptions to save signed document as protected. Default value is true. This property is not supported for Image documents.

See Also