agentic-net-examples / mailmark-two-dimensional-barcode
AGENTS.md4 starsChanged 29 days agoMITView on GitHub
C# examples for Mailmark Two Dimensional Barcode using Aspose.BarCode for .NET
In this repository21 other files it gives its agents.
- aspose-barcode-examplesAGENTS.md
- barcode-appearance-customizationAGENTS.md
- barcode-checksum-controlAGENTS.md
- barcode-color-customizationAGENTS.md
- barcode-configuration-serializationAGENTS.md
- barcode-reading-propertiesAGENTS.md
- barcode-recognition-basicsAGENTS.md
- barcode-recognition-performanceAGENTS.md
- barcode-recognition-xml-serializationAGENTS.md
- barcode-saving-and-exportAGENTS.md
- barcode-size-and-resolutionAGENTS.md
- barcode-text-customizationAGENTS.md
- gs1-barcode-typesAGENTS.md
- hibc-lic-barcodeAGENTS.md
- mailmark-four-state-barcodeAGENTS.md
- maxicode-barcodeAGENTS.md
- one-dimensional-barcode-typesAGENTS.md
- postal-barcode-typesAGENTS.md
- special-barcode-recognition-settingsAGENTS.md
- swiss-qr-codeAGENTS.md
- two-dimensional-barcode-typesAGENTS.md
The file
Files
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
| File | Key APIs | Description |
| adjust-generator-settings-to-produce-barcode-image-suitable-for-high-resolution-printing-on-labels.cs | BarcodeGenerator | Adjust generator settings to produce a barcode image suitable for high‑resolution printing... |
| apply-custom-foreground-and-background-colors-to-barcode-image-using-generator-settings.cs | BarcodeColorParameters, BarcodeGenerator | Apply 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.cs | BarcodeGenerator | Batch 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.cs | BarCodeReader | Batch 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.cs | BarcodeGenerator | Cache 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.cs | BarcodeGenerator | Compare 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.cs | ComplexBarcodeGenerator, BarcodeGenerator | Configure ComplexBarcodeGenerator to produce a 300 dpi PNG image with custom dimensions fo... |
| configure-complexbarcodegenerator-to-use-specific-module-size-for-higher-density-barcodes.cs | ComplexBarcodeGenerator, BarcodeGenerator | Configure 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.cs | Create a console application that prompts users for Mailmark fields and saves the resultin... | |
| create-mailmark2dcodetext-instance-and-assign-routing-service-and-customer-data-values.cs | Mailmark2DCodetext | Create a Mailmark2DCodetext instance and assign routing, service, and customer data values... |
| deserialize-json-back-into-mailmark2dcodetext-instance-and-generate-corresponding-barcode.cs | Mailmark2DCodetext, BarcodeGenerator | Deserialize 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.cs | BarcodeGenerator | Develop 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.cs | Encode customer information with an alternative encoding and assess its impact on barcode ... | |
| extract-individual-fields-such-as-routing-and-service-code-from-decoded-mailmark2dcodetext.cs | Mailmark2DCodetext | Extract individual fields such as routing and service code from the decoded Mailmark2DCode... |
| generate-barcode-with-transparent-background-for-overlaying-on-other-graphics.cs | BarcodeGenerator | Generate a barcode with a transparent background for overlaying on other graphics. |
| generate-mailmark-type-7-barcode-image-using-specified-routing-and-service-code-fields.cs | BarcodeGenerator | Generate 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.cs | BarcodeGenerator | Handle cases where customer information uses unsupported characters by logging a warning a... |
| implement-dependency-injection-to-provide-barcode-generation-service-throughout-application.cs | BarcodeGenerator | Implement 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.cs | Implement 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.cs | BarcodeGenerator | Implement a retry mechanism for barcode generation when transient errors occur during imag... |
| integrate-barcode-generation-into-aspnet-mvc-controller-and-return-image-as-fileresult.cs | BarcodeGenerator | Integrate 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.cs | Log detailed decoding information, including field names and values, to assist troubleshoo... | |
| parallelize-barcode-generation-for-large-datasets-using-task-parallel-library-to-improve-performance.cs | BarcodeGenerator | Parallelize barcode generation for large datasets using Task Parallel Library to improve p... |
| read-mailmark-2d-barcode-from-image-file-using-barcodereader-with-decodetypedatamatrix.cs | Mailmark2DCodetext, DataMatrixParameters, DecodeType, BarCodeReader | Read 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.cs | BarcodeGenerator | Rotate the generated Mailmark barcode by 90 degrees to satisfy specific layout requirement... |
| save-generated-mailmark-barcode-as-jpeg-file-to-specified-output-folder.cs | BarcodeGenerator | Save 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.cs | Mailmark2DCodetext | Serialize a Mailmark2DCodetext object to JSON for storage and later reconstruction in appl... |
| set-barcodereaderdecodetype-to-decodetypedatamatrix-before-invoking-read-method-on-image.cs | DataMatrixParameters, DecodeType, BarCodeReader | Set BarCodeReader.DecodeType to DecodeType.DataMatrix before invoking the Read method on t... |
| stream-generated-barcode-directly-to-http-response-without-writing-to-disk.cs | BarcodeGenerator | Stream the generated barcode directly to an HTTP response without writing to disk. |
| use-complexcodetextreadertrydecodemailmark2d-to-obtain-mailmark2dcodetext-object-from-decoded-result.cs | ComplexCodetextReader, Mailmark2DCodetext, BarCodeResult | Use ComplexCodetextReader.TryDecodeMailmark2D to obtain a Mailmark2DCodetext object from t... |
| use-memorystream-to-hold-barcode-image-for-in-memory-processing-and-transmission.cs | Use 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.cs | BarcodeGenerator | Validate 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.cs | Validate 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.cs | Unit, BarcodeGenerator | Write 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
ComplexBarcodeGeneratorMailmark2DCodetextComplexCodetextReaderBarCodeReaderDecodeType
Failed Tasks
All tasks passed ✅
<!-- AUTOGENERATED:START -->Updated: 2026-10-12 | Examples: 34
<!-- AUTOGENERATED:END -->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
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.

