Browse our Products
Aspose.BarCode for Reporting Services 25.7 Release Notes
This page contains release notes information for Aspose.BarCode for Reporting Services 25.7.
All Changes
Key | Summary | Category |
---|---|---|
BARCODENET-39204 | Allow 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);
}