Browse our Products
Aspose.BarCode for .NET 25.4 Release Notes
This article contains release notes information for Aspose.BarCode for .NET 25.4 (April 2025).
All Changes
Key | Summary | Category |
---|---|---|
BARCODENET-37926 | Barcode image generation as CMYK PDF | Enhancement |
BARCODENET-39278 | Improve DataMatrix recognition performance | Enhancement |
Public API changes and backwards compatibility
CMYK Color Support for PDF Barcode Generation
New Class:
Aspose.BarCode.Generation.CMYKColor
Represents a color in CMYK format.
Constructor:
CMYKColor(Int32 cyan, Int32 magenta, Int32 yellow, Int32 black)
Initializes a CMYK color with specified component values.
Behavior: When a CMYK color is set, it overrides the RGB color for the corresponding element during PDF generation.
New Properties in PdfParameters
:
Allows setting CMYK colors for individual elements of the barcode in PDF format:
CMYKBarColor
— Barcode foreground colorCMYKBackColor
— Background colorCMYKCodetextColor
— Barcode text colorCMYKCaptionAboveColor
— Caption above text colorCMYKCaptionBelowColor
— Caption below text color
Class:
Aspose.BarCode.Generation.PdfParameters
Updated Class:
Aspose.BarCode.Generation.ImageParameters
New Property:
Pdf
— Gets or sets PDF-specific parameters including CMYK color support