Browse our Products

Aspose.BarCode for Reporting Services 25.7 Release Notes

All Changes

KeySummaryCategory
BARCODENET-39204Allow generating text in PDF as paths as in SVG (optional)Enhancement

Public API changes and backwards compatibility

PDF file format

Added ability to save text as a graphic path when exporting to PDF format. This allows barcode text to be rendered as vector shapes, which improves compatibility with systems that do not embed fonts.

using (BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.QR, "Aspose"))
{
    gen.Parameters.Image.Pdf.IsTextAsPath = true;
    gen.Parameters.Barcode.CodeTextParameters.Location = CodeLocation.Below;
    gen.Parameters.Barcode.CodeTextParameters.Color = Color.Green;
    gen.Save("barcode.pdf", BarCodeImageFormat.Pdf);
}