Class ImageSettings
Defines image output settings for saving labels to raster image formats
Inheritance
Inherited Members
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.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 |
PngIncludeDpiMetadata
Gets or sets whether the DPI metadata tag must be included in the PNG output image. Default is False.
Declaration
public bool PngIncludeDpiMetadata { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ThumbnailSize
Gets or sets the thumbnail size in pixel unit. Default is 0 (zero) which means thumbnail generation is disabled.
Declaration
public int ThumbnailSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |