agentleFS
aspose-barcodeaspose-barcode/agentic-net-examples/mailmark-two-dimensional-barcode/agents.md

agentic-net-examples / mailmark-two-dimensional-barcode

AGENTS.md4 starsChanged 3 months agoMITView on GitHub

C# examples for Mailmark Two Dimensional Barcode using Aspose.BarCode for .NET

The file

Files
agents.md

AGENTS - Mailmark Two Dimensional Barcode

Persona

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

Required Namespaces

  • using System;
  • using System.IO;
  • using Aspose.BarCode.ComplexBarcode;
  • using Aspose.BarCode.Generation;
  • using Aspose.BarCode.BarCodeRecognition;

Files in this folder

FileKey APIsDescription
adjust-generator-settings-to-produce-barcode-image-suitable-for-high-resolution-printing-on-labels.csBarcodeGeneratorAdjust generator settings to produce a barcode image suitable for high‑resolution printing...
apply-custom-foreground-and-background-colors-to-barcode-image-using-generator-settings.csBarcodeColorParameters, BarcodeGeneratorApply custom foreground and background colors to the barcode image using generator setting...
batch-generate-mailmark-barcodes-from-csv-file-containing-multiple-rows-of-field-data.csBarcodeGeneratorBatch generate Mailmark barcodes from a CSV file containing multiple rows of field data.
batch-read-multiple-mailmark-barcode-images-from-directory-and-output-their-decoded-data-to-csv.csBarCodeReaderBatch read multiple Mailmark barcode images from a directory and output their decoded data...
cache-generated-barcode-images-in-memory-to-avoid-redundant-regeneration-for-identical-field-sets.csBarcodeGeneratorCache generated barcode images in memory to avoid redundant regeneration for identical fie...
compare-generation-time-and-image-size-between-mailmark-type-7-and-type-29-barcodes.csBarcodeGeneratorCompare generation time and image size between Mailmark type 7 and type 29 barcodes.
configure-complexbarcodegenerator-to-produce-300-dpi-png-image-with-custom-dimensions-for-printing.csComplexBarcodeGenerator, BarcodeGeneratorConfigure ComplexBarcodeGenerator to produce a 300 dpi PNG image with custom dimensions fo...
configure-complexbarcodegenerator-to-use-specific-module-size-for-higher-density-barcodes.csComplexBarcodeGenerator, BarcodeGeneratorConfigure ComplexBarcodeGenerator to use a specific module size for higher density barcode...
create-console-application-that-prompts-users-for-mailmark-fields-and-saves-resulting-barcode-as-png.csCreate a console application that prompts users for Mailmark fields and saves the resultin...
create-mailmark2dcodetext-instance-and-assign-routing-service-and-customer-data-values.csMailmark2DCodetextCreate a Mailmark2DCodetext instance and assign routing, service, and customer data values...
deserialize-json-back-into-mailmark2dcodetext-instance-and-generate-corresponding-barcode.csMailmark2DCodetext, BarcodeGeneratorDeserialize JSON back into a Mailmark2DCodetext instance and generate the corresponding ba...
develop-reusable-helper-method-that-accepts-mailmark-fields-and-returns-generated-barcode-image-stream.csBarcodeGeneratorDevelop a reusable helper method that accepts Mailmark fields and returns a generated barc...
encode-customer-information-with-alternative-encoding-and-assess-its-impact-on-barcode-capacity.csEncode customer information with an alternative encoding and assess its impact on barcode ...
extract-individual-fields-such-as-routing-and-service-code-from-decoded-mailmark2dcodetext.csMailmark2DCodetextExtract individual fields such as routing and service code from the decoded Mailmark2DCode...
generate-barcode-with-transparent-background-for-overlaying-on-other-graphics.csBarcodeGeneratorGenerate a barcode with a transparent background for overlaying on other graphics.
generate-mailmark-type-7-barcode-image-using-specified-routing-and-service-code-fields.csBarcodeGeneratorGenerate a Mailmark type 7 barcode image using specified routing and service code fields.
handle-cases-where-customer-information-uses-unsupported-characters-by-logging-warning-and-skipping-generation.csBarcodeGeneratorHandle cases where customer information uses unsupported characters by logging a warning a...
implement-dependency-injection-to-provide-barcode-generation-service-throughout-application.csBarcodeGeneratorImplement dependency injection to provide a barcode generation service throughout the appl...
implement-error-handling-to-manage-cases-where-barcode-decoding-fails-or-returns-incomplete-data.csImplement error handling to manage cases where barcode decoding fails or returns incomplet...
implement-retry-mechanism-for-barcode-generation-when-transient-errors-occur-during-image-saving.csBarcodeGeneratorImplement a retry mechanism for barcode generation when transient errors occur during imag...
integrate-barcode-generation-into-aspnet-mvc-controller-and-return-image-as-fileresult.csBarcodeGeneratorIntegrate barcode generation into an ASP.NET MVC controller and return the image as a File...
log-detailed-decoding-information-including-field-names-and-values-to-assist-troubleshooting.csLog detailed decoding information, including field names and values, to assist troubleshoo...
parallelize-barcode-generation-for-large-datasets-using-task-parallel-library-to-improve-performance.csBarcodeGeneratorParallelize barcode generation for large datasets using Task Parallel Library to improve p...
read-mailmark-2d-barcode-from-image-file-using-barcodereader-with-decodetypedatamatrix.csMailmark2DCodetext, DataMatrixParameters, DecodeType, BarCodeReaderRead a Mailmark 2D barcode from an image file using BarCodeReader with DecodeType.DataMatr...
rotate-generated-mailmark-barcode-by-90-degrees-to-satisfy-specific-layout-requirements.csBarcodeGeneratorRotate the generated Mailmark barcode by 90 degrees to satisfy specific layout requirement...
save-generated-mailmark-barcode-as-jpeg-file-to-specified-output-folder.csBarcodeGeneratorSave the generated Mailmark barcode as a JPEG file to a specified output folder.
serialize-mailmark2dcodetext-object-to-json-for-storage-and-later-reconstruction-in-applications.csMailmark2DCodetextSerialize a Mailmark2DCodetext object to JSON for storage and later reconstruction in appl...
set-barcodereaderdecodetype-to-decodetypedatamatrix-before-invoking-read-method-on-image.csDataMatrixParameters, DecodeType, BarCodeReaderSet BarCodeReader.DecodeType to DecodeType.DataMatrix before invoking the Read method on t...
stream-generated-barcode-directly-to-http-response-without-writing-to-disk.csBarcodeGeneratorStream the generated barcode directly to an HTTP response without writing to disk.
use-complexcodetextreadertrydecodemailmark2d-to-obtain-mailmark2dcodetext-object-from-decoded-result.csComplexCodetextReader, Mailmark2DCodetext, BarCodeResultUse ComplexCodetextReader.TryDecodeMailmark2D to obtain a Mailmark2DCodetext object from t...
use-memorystream-to-hold-barcode-image-for-in-memory-processing-and-transmission.csUse a MemoryStream to hold the barcode image for in‑memory processing and transmission.
validate-that-all-non-customer-fields-conform-to-c40-character-set-before-generation.csBarcodeGeneratorValidate that all non‑customer fields conform to the C40 character set before generation.
validate-that-customer-data-length-does-not-exceed-capacity-for-selected-mailmark-type.csValidate that customer data length does not exceed capacity for the selected Mailmark type...
write-unit-tests-that-verify-generated-barcodes-contain-exact-routing-and-service-code-values.csUnit, BarcodeGeneratorWrite unit tests that verify generated barcodes contain the exact routing and service code...

Category Statistics

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

Key API Surface

  • ComplexBarcodeGenerator
  • Mailmark2DCodetext
  • ComplexCodetextReader
  • BarCodeReader
  • DecodeType

Failed Tasks

All tasks passed ✅

<!-- AUTOGENERATED:START -->

Updated: 2026-08-13 | Examples: 34

<!-- 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.