The ImageSettings type exposes the following members.

Constructors

  NameDescription
Public methodImageSettings
Initializes a new instance of the ImageSettings class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDpi
Gets or sets the resolution in dots per inch (dpi) of the resulting image. The default value is 96.
Public propertyImageFormat
Gets or sets the image format of the resulting image.
Public propertyJpegQualityLevel
Gets or sets a value that indicates the quality level of the resulting Joint Photographics Experts Group (JPEG) image. The quality level of the JPEG image is expressed numerically and must be between 1 and 100. 100 indicates the highest quality level, while 1 indicates the lowest. The default value is 75.
Public propertyPalette
Gets or sets a value that represents the color palette of the resulting image.
Public propertyPixelFormat
Gets or sets the predefined pixel format of the resulting image. The default value is PixelFormats.Pbgra32.
Public propertyPngInterlace
Gets or sets a value that indicates whether the resulting Portable Network Graphics (PNG) bitmap should interlace.
Public propertyTiffCompression
Gets or sets a value that indicates the type of compression that is used by the resulting Tagged Image File Format (TIFF) image.
Public propertyWmpImageQualityLevel
Gets or sets the image quality level of the resulting Microsoft Windows Media Photo (WMP) image. The range is 0 to 1.0. The default value is 0.9. A value of 1.0 represents a lossless image quality.
Public propertyWmpLossless
Gets or sets a value that indicates whether to encode the resulting Microsoft Windows Media Photo (WMP) image using lossless compression. The default value is false.
Public propertyWmpQualityLevel
Gets or sets the compression quality of the resulting Microsoft Windows Media Photo (WMP) image. A value of 1 is considered lossless and higher values indicate a high compression ratio and lower image quality. The range is 0 to 255. The default value is 1.

See Also