agentleFS
aspose-barcodeaspose-barcode/agentic-net-examples/barcode-text-customization/agents.md

agentic-net-examples / barcode-text-customization

AGENTS.md4 starsChanged 3 months agoMITView on GitHub

C# examples for Barcode Text Customization using Aspose.BarCode for .NET

The file

Files
agents.md

AGENTS - Barcode Text Customization

Persona

You are a C# developer specializing in barcode generation and recognition using Aspose.BarCode for .NET, working within the Barcode Text Customization category. This folder contains standalone C# examples for Barcode Text Customization operations. See the root agents.md for repository-wide conventions and boundaries.

Required Namespaces

  • using System;
  • using System.IO;
  • using Aspose.BarCode.Generation;
  • using Aspose.Drawing;

Files in this folder

FileKey APIsDescription
adjust-gap-between-barcode-and-its-text-to-4-points-for-high-density-qr-codes.csQrParametersAdjust the gap between barcode and its text to 4 points for high‑density QR codes.
align-barcode-text-left-for-series-of-upc-barcodes-by-setting-textalignmentleft.csAlign barcode text left for a series of UPC‑A barcodes by setting TextAlignment.Left.
align-top-caption-to-center-for-qr-codes-by-setting-captionparameterstopalignment-to-captionalignmentcenter.csQrParameters, CaptionParametersAlign top caption to center for QR codes by setting CaptionParameters.Top.Alignment to Cap...
apply-different-fonts-to-main-text-and-caption-by-setting-codetextparametersfont-and-captionparametersfont-separately.csCaptionParameters, FontUnitApply different fonts to main text and caption by setting CodetextParameters.Font and Capt...
apply-fontmodeauto-to-barcode-text-so-library-automatically-calculates-optimal-font-size-for-each-symbol.csFontUnitApply FontMode.Auto to barcode text so the library automatically calculates optimal font s...
batch-generate-qr-codes-with-custom-texts-from-csv-file-applying-unique-font-sizes-per-row.csQrParameters, FontUnit, BarcodeGeneratorBatch generate QR codes with custom texts from a CSV file, applying unique font sizes per ...
centeralign-barcode-text-for-collection-of-ean-13-barcodes-by-setting-codetextparametersalignment-to-textalignmentcenter.csCenter-align barcode text for a collection of EAN‑13 barcodes by setting CodetextParameter...
compare-rendering-performance-between-fontmodeauto-and-manually-specified-fonts-for-large-batches-of-qr-codes.csQrParametersCompare rendering performance between FontMode.Auto and manually specified fonts for large...
create-barcodes-where-both-main-text-and-bottom-caption-are-visible-each-aligned-left-for-consistency.csCaptionParametersCreate barcodes where both main text and bottom caption are visible, each aligned left for...
define-barcode-text-font-as-arial-size-6-regular-style-for-all-generated-code39-symbols.csFontUnit, BarcodeGeneratorDefine barcode text font as Arial, size 6, regular style for all generated Code39 symbols.
define-caption-font-as-times-new-roman-size-9-for-all-generated-aztec-barcodes-to-match-branding.csAztecParameters, CaptionParameters, FontUnit, BarcodeGeneratorDefine caption font as Times New Roman, size 9, for all generated Aztec barcodes to match ...
develop-script-that-generates-datamatrix-barcodes-with-top-caption-padded-10-pixels-and-centered-alignment.csDataMatrixParameters, CaptionParameters, BarcodeGeneratorDevelop a script that generates DataMatrix barcodes with top caption padded 10 pixels and ...
enable-nowrap-mode-for-barcode-text-on-datamatrix-barcodes-to-prevent-line-breaks-in-long-strings.csDataMatrixParametersEnable NoWrap mode for barcode text on DataMatrix barcodes to prevent line breaks in long ...
export-barcodes-with-customized-text-to-png-format-preserving-alignment-and-spacing-settings-in-image.csExport barcodes with customized text to PNG format, preserving alignment and spacing setti...
export-barcodes-with-customized-text-to-svg-format-to-retain-vector-based-alignment-for-scalable-rendering.csExport barcodes with customized text to SVG format to retain vector‑based alignment for sc...
generate-barcodes-with-hidden-main-text-and-visible-top-caption-to-display-supplemental-information-only.csCaptionParameters, BarcodeGeneratorGenerate barcodes with hidden main text and visible top caption to display supplemental in...
hide-all-captions-for-batch-of-code128-barcodes-by-setting-captionparametersvisible-to-false-globally.csHide all captions for a batch of Code128 barcodes by setting CaptionParameters.Visible to ...
hide-main-barcode-text-for-batch-of-qr-code-images-by-setting-codetextparametersvisible-to-false.csQrParametersHide main barcode text for a batch of QR code images by setting CodetextParameters.Visible...
integrate-barcode-text-customization-into-aspnet-mvc-view-allowing-end-users-to-toggle-visibility-and-alignment.csIntegrate barcode text customization into an ASP.NET MVC view, allowing end users to toggl...
place-barcode-text-above-datamatrix-symbols-by-assigning-codetextparameterslocation-textlocationabove.csDataMatrixParametersPlace barcode text above DataMatrix symbols by assigning CodetextParameters.Location = Tex...
replace-displayed-text-of-qr-code-with-custom-url-by-setting-codetextparameterstext.csQrParametersReplace displayed text of a QR code with a custom URL by setting CodetextParameters.Text.
rightalign-barcode-text-for-itf-14-barcodes-by-setting-codetextparametersalignment-textalignmentright.csRight-align barcode text for ITF‑14 barcodes by setting CodetextParameters.Alignment = Tex...
serialize-barcode-text-and-caption-settings-to-json-then-reload-them-to-recreate-identical-barcode-appearances.csCaptionParametersSerialize barcode text and caption settings to JSON, then reload them to recreate identica...
set-barcode-text-location-to-below-for-pdf417-barcodes-using-default-textlocationbelow-setting.csPdf417ParametersSet barcode text location to below for PDF417 barcodes, using the default TextLocation.Bel...
set-barcode-text-spacing-to-25-pixels-for-batch-of-aztec-barcodes-to-improve-readability.csAztecParametersSet barcode text spacing to 2.5 pixels for a batch of Aztec barcodes to improve readabilit...
set-bottom-caption-padding-to-8-pixels-for-datamatrix-barcodes-to-create-visual-separation-from-symbol.csDataMatrixParameters, CaptionParameters, PaddingSet bottom caption padding to 8 pixels for DataMatrix barcodes to create visual separation...
show-main-barcode-text-for-all-generated-code128-barcodes-by-setting-codetextparametersvisible-to-true.csBarcodeGeneratorShow main barcode text for all generated Code128 barcodes by setting CodetextParameters.Vi...
show-top-caption-for-pdf417-barcodes-by-setting-captionparameterstopvisible-to-true.csPdf417Parameters, CaptionParametersShow top caption for PDF417 barcodes by setting CaptionParameters.Top.Visible to true.
write-unit-tests-that-verify-toggling-codetextparametersvisible-correctly-shows-and-hides-main-barcode-text.csUnitWrite unit tests that verify toggling CodetextParameters.Visible correctly shows and hides...

Category Statistics

  • Total examples: 29
  • Failed: 0
  • Pass rate: 100.0%

Key API Surface

  • BarcodeGenerator
  • CaptionParameters
  • FontUnit
  • CodeTextParameters
  • TextParameters

Failed Tasks

All tasks passed ✅

<!-- AUTOGENERATED:START -->

Updated: 2026-08-13 | Examples: 29

<!-- AUTOGENERATED:END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.