Class ImageSettings
Defines image output settings for saving labels to raster image formats
Inheritance
Inherited Members
Namespace:Neodynamic.SDK.Printing
Assembly:Neodynamic.SDK.ThermalLabel.dll
Syntax
public class ImageSettings
Constructors
ImageSettings()
Initializes a new instance of the ImageSettings class.
Declaration
public ImageSettings()
ImageSettings(ImageFormat)
Initializes a new instance of the ImageSettings class with the specified image format.
Declaration
public ImageSettings(ImageFormat imageFormat)
Parameters
Type | Name | Description |
---|---|---|
ImageFormat | imageFormat | The image format. |
Properties
AntiAlias
Gets or sets whether AntiAlias effect must be applied to all the items of the label. Default is False.
Declaration
public bool AntiAlias { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ImageFormat
Gets or sets the image format of the resulting image. Default is JPEG.
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 80.
Declaration
public int JpegQualityLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PixelFormat
Gets or sets the predefined pixel format of the resulting image. The default value is BGR32.
Declaration
public PixelFormat PixelFormat { get; set; }
Property Value
Type | Description |
---|---|
PixelFormat |
TiffCompression
Gets or sets a value that indicates the type of compression that is used by the resulting Tagged Image File Format (TIFF) image. Default is LZW.
Declaration
public TiffCompression TiffCompression { get; set; }
Property Value
Type | Description |
---|---|
TiffCompression |
TransparentBackground
Gets or sets whether a transparent background must be used for the label. It's only available for PNG image format. Default is False.
Declaration
public bool TransparentBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |