Browse our Products

Aspose.BarCode for .NET 25.4 Release Notes

All Changes

KeySummaryCategory
BARCODENET-37926Barcode image generation as CMYK PDFEnhancement
BARCODENET-39278Improve DataMatrix recognition performanceEnhancement

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 color

  • CMYKBackColor — Background color

  • CMYKCodetextColor — Barcode text color

  • CMYKCaptionAboveColor — Caption above text color

  • CMYKCaptionBelowColor — 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