Show / Hide Table of Contents

Class ImageSettings

Defines image settings for saving barcode to raster image formats.

Inheritance
System.Object
ImageSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.WPF
Assembly: Neodynamic.WPF.Barcode.dll
Syntax
public class ImageSettings

Properties

Dpi

Gets or sets the resolution in dots per inch (dpi) of the resulting image. The default value is 96.

Declaration
public double Dpi { get; set; }
Property Value
Type Description
System.Double

ImageFormat

Gets or sets the image format of the resulting image.

Declaration
public ImageFormat ImageFormat { get; set; }
Property Value
Type Description
ImageFormat

JpegQualityLevel

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.

Declaration
public int JpegQualityLevel { get; set; }
Property Value
Type Description
System.Int32

Palette

Gets or sets a value that represents the color palette of the resulting image.

Declaration
public BitmapPalette Palette { get; set; }
Property Value
Type Description
System.Windows.Media.Imaging.BitmapPalette

PixelFormat

Gets or sets the predefined pixel format of the resulting image. The default value is PixelFormats.Pbgra32.

Declaration
public PixelFormat PixelFormat { get; set; }
Property Value
Type Description
System.Windows.Media.PixelFormat

PngInterlace

Gets or sets a value that indicates whether the resulting Portable Network Graphics (PNG) bitmap should interlace.

Declaration
public PngInterlaceOption PngInterlace { get; set; }
Property Value
Type Description
System.Windows.Media.Imaging.PngInterlaceOption

TiffCompression

Gets or sets a value that indicates the type of compression that is used by the resulting Tagged Image File Format (TIFF) image.

Declaration
public TiffCompressOption TiffCompression { get; set; }
Property Value
Type Description
System.Windows.Media.Imaging.TiffCompressOption

WmpImageQualityLevel

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.

Declaration
public float WmpImageQualityLevel { get; set; }
Property Value
Type Description
System.Single

WmpLossless

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.

Declaration
public bool WmpLossless { get; set; }
Property Value
Type Description
System.Boolean

WmpQualityLevel

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.

Declaration
public byte WmpQualityLevel { get; set; }
Property Value
Type Description
System.Byte
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com