Skip to content

Latest commit

 

History

History
139 lines (126 loc) · 29.2 KB

File metadata and controls

139 lines (126 loc) · 29.2 KB
name postal-barcode-types
description C# examples for Postal Barcode Types using Aspose.BarCode for .NET
language csharp
framework net10.0
parent ../agents.md

AGENTS - Postal Barcode Types

Persona

You are a C# developer specializing in barcode generation and recognition using Aspose.BarCode for .NET, working within the Postal Barcode Types category. This folder contains standalone C# examples for Postal Barcode Types 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.BarCode.BarCodeRecognition;

Files in this folder

File Key APIs Description
adjust-barheight-of-postnet-barcode-to-40-points-while-keeping-automatic-width-calculation.cs Adjust the BarHeight of a Postnet barcode to 40 points while keeping automatic width calcu...
build-rest-api-endpoint-that-receives-postal-barcode-data-and-returns-image-as-byte-array.cs Build a REST API endpoint that receives postal barcode data and returns the image as a byt...
configure-barcode-generation-to-use-specific-color-palette-for-bars-and-background-exporting-as-png.cs BarcodeGenerator Configure barcode generation to use a specific color palette for bars and background, expo...
create-barcode-generator-instance-for-rm4scc-set-custom-xdimension-and-export-image-to-byte-array.cs BarcodeGenerator Create a barcode generator instance for RM4SCC, set custom XDimension, and export image to...
create-configuration-file-that-defines-default-xdimension-barheight-and-filledbars-for-all-postal-barcode-operations.cs Create a configuration file that defines default XDimension, BarHeight, and FilledBars for...
create-custom-barcode-generation-utility-that-accepts-command-line-arguments-for-symbology-data-and-output-path.cs DecodeType, BarcodeGenerator Create a custom barcode generation utility that accepts command‑line arguments for symbolo...
decode-australia-post-barcode-from-multi-page-tiff-and-process-each-page-sequentially.cs AustralianPostShortBarSectionsType Decode an Australia Post barcode from a multi‑page TIFF and process each page sequentially...
decode-dutch-kix-barcode-from-byte-array-and-handle-potential-format-exceptions.cs Decode a Dutch KIX barcode from a byte array and handle potential format exceptions.
decode-mailmark-barcode-from-jpeg-image-and-output-result-to-console.cs BarCodeResult Decode a Mailmark barcode from a JPEG image and output the result to the console.
decode-onecode-barcode-from-network-response-stream-and-log-any-decoding-errors.cs Decode a OneCode barcode from a network response stream and log any decoding errors.
decode-planet-barcode-image-from-file-path-and-retrieve-encoded-numeric-string.cs Decode a Planet barcode image from a file path and retrieve the encoded numeric string.
decode-postnet-barcode-from-memory-stream-and-verify-checksum-correctness.cs Decode a Postnet barcode from a memory stream and verify checksum correctness.
decode-rm4scc-barcode-embedded-in-pdf-page-and-extract-original-data.cs Decode an RM4SCC barcode embedded in a PDF page and extract the original data.
decode-set-of-barcodes-from-encrypted-image-files-after-decrypting-them-in-memory.cs Decode a set of barcodes from encrypted image files after decrypting them in memory.
decode-swiss-post-parcel-additional-service-code-barcode-from-svg-file-and-extract-service-description.cs Decode a Swiss Post Parcel additional service code barcode from a SVG file and extract ser...
decode-swiss-post-parcel-domestic-barcode-from-png-file-and-confirm-identifier-validity.cs Decode a Swiss Post Parcel domestic barcode from a PNG file and confirm identifier validit...
decode-swiss-post-parcel-international-barcode-from-bmp-image-and-verify-checksum-correction.cs Decode a Swiss Post Parcel international barcode from a BMP image and verify checksum corr...
develop-windows-service-that-monitors-folder-and-generates-postal-barcodes-for-new-files-automatically.cs BarcodeGenerator Develop a Windows service that monitors a folder and generates postal barcodes for new fil...
disable-bar-filling-for-mailmark-barcode-and-compare-visual-output-with-default-filled-bars.cs Disable bar filling for a Mailmark barcode and compare visual output with default filled b...
generate-australia-post-4-state-postal-barcode-applying-reed-solomon-error-correction-technique.cs AustralianPostShortBarSectionsType, BarcodeGenerator Generate an Australia Post 4‑state postal barcode applying Reed‑Solomon error correction t...
generate-australia-post-barcode-with-reed-solomon-correction-and-output-to-memory-mapped-file.cs AustralianPostShortBarSectionsType, BarcodeGenerator Generate an Australia Post barcode with Reed‑Solomon correction and output to a memory‑map...
generate-australia-post-barcodes-for-list-of-alphanumeric-codes-and-store-results-in-memory-stream-array.cs AustralianPostShortBarSectionsType, BarcodeGenerator Generate Australia Post barcodes for a list of alphanumeric codes and store results in a m...
generate-batch-of-planet-barcodes-from-csv-list-of-numeric-values-saving-each-as-png.cs BarcodeGenerator Generate a batch of Planet barcodes from a CSV list of numeric values, saving each as PNG.
generate-batch-of-postal-barcodes-using-parallel-processing-and-ensure-thread-safe-handling-of-generator-instances.cs BarcodeGenerator Generate a batch of postal barcodes using parallel processing and ensure thread‑safe handl...
generate-batch-of-postnet-barcodes-from-database-table-column-and-save-images-to-specified-folder.cs BarcodeGenerator Generate a batch of Postnet barcodes from a database table column and save images to a spe...
generate-batch-of-swiss-post-parcel-additional-service-code-barcodes-and-produce-csv-index-linking-identifiers.cs BarcodeGenerator Generate a batch of Swiss Post Parcel additional service code barcodes and produce a CSV i...
generate-batch-of-swiss-post-parcel-domestic-barcodes-and-create-single-multi-page-pdf-containing-all.cs BarcodeGenerator Generate a batch of Swiss Post Parcel domestic barcodes and create a single multi‑page PDF...
generate-batch-of-swiss-post-parcel-international-barcodes-and-combine-them-into-single-tiff-image.cs BarcodeGenerator Generate a batch of Swiss Post Parcel international barcodes and combine them into a singl...
generate-dutch-kix-2-state-postal-barcode-with-numeric-input-validation-and-automatic-checksum.cs BarcodeGenerator Generate a Dutch KIX 2‑state postal barcode with numeric input validation and automatic ch...
generate-dutch-kix-barcodes-using-json-array-of-identifiers-and-export-each-as-bmp-images.cs BarcodeGenerator Generate Dutch KIX barcodes using a JSON array of identifiers and export each as BMP image...
generate-mailmark-4-state-postal-barcode-with-reed-solomon-correction-and-custom-xdimension-of-05-mm.cs MailmarkCodetext, BarcodeGenerator Generate a Mailmark 4‑state postal barcode with Reed‑Solomon correction and custom XDimens...
generate-mailmark-barcode-with-default-settings-and-embed-image-into-pdf-document.cs BarcodeGenerator Generate a Mailmark barcode with default settings and embed the image into a PDF document.
generate-mailmark-barcodes-for-set-of-order-numbers-and-convert-each-image-to-base64-string.cs BarcodeGenerator Generate Mailmark barcodes for a set of order numbers and convert each image to a Base64 s...
generate-onecode-2-state-postal-barcode-using-8-digit-numeric-string-and-default-settings.cs BarcodeGenerator Generate a OneCode 2‑state postal barcode using an 8‑digit numeric string and default sett...
generate-onecode-barcode-with-custom-dpi-of-300-and-save-as-high-resolution-png.cs BarcodeGenerator Generate a OneCode barcode with custom DPI of 300 and save as high‑resolution PNG.
generate-onecode-barcodes-from-collection-of-strings-and-embed-images-into-excel-worksheet.cs BarcodeGenerator Generate OneCode barcodes from a collection of strings and embed the images into an Excel ...
generate-planet-2-state-postal-barcode-image-with-custom-xdimension-and-default-bar-height.cs BarcodeGenerator Generate a Planet 2‑state postal barcode image with custom XDimension and default bar heig...
generate-postal-barcode-and-embed-it-as-attachment-in-email-message-using-smtp-client.cs BarcodeGenerator Generate a postal barcode and embed it as an attachment in an email message using SMTP cli...
generate-postal-barcode-and-embed-it-directly-into-existing-pdf-page-at-specified-coordinate.cs BarcodeGenerator Generate a postal barcode and embed it directly into an existing PDF page at a specified c...
generate-postal-barcode-and-store-it-as-blob-in-sql-server-database-table.cs BarcodeGenerator Generate a postal barcode and store it as a BLOB in a SQL Server database table.
generate-postal-barcode-using-custom-color-scheme-defined-in-json-configuration-and-save-as-jpeg.cs BarcodeGenerator Generate a postal barcode using a custom color scheme defined in a JSON configuration and ...
generate-postal-barcode-with-custom-font-for-human-readable-text-and-export-as-png.cs FontUnit, BarcodeGenerator Generate a postal barcode with a custom font for the human‑readable text and export as PNG...
generate-postal-barcode-with-custom-margin-settings-and-verify-image-dimensions-match-expectations.cs BarcodeGenerator Generate a postal barcode with custom margin settings and verify image dimensions match ex...
generate-postal-barcode-with-transparent-background-and-save-as-png-with-alpha-channel.cs BarcodeGenerator Generate a postal barcode with transparent background and save as PNG with alpha channel.
generate-postnet-2-state-postal-barcode-with-overridden-barheight-set-to-30-points.cs BarcodeGenerator Generate a Postnet 2‑state postal barcode with overridden BarHeight set to 30 points.
generate-rm4scc-2-state-postal-barcode-and-disable-bar-filling-using-filledbars-false.cs BarcodeGenerator Generate an RM4SCC 2‑state postal barcode and disable bar filling using FilledBars false.
generate-rm4scc-barcodes-for-each-record-in-xml-file-and-write-output-to-multi-page-pdf.cs BarcodeGenerator Generate RM4SCC barcodes for each record in an XML file and write output to a multi‑page P...
generate-swiss-post-parcel-additional-service-code-barcode-and-attach-service-description-as-metadata.cs BarcodeGenerator Generate a Swiss Post Parcel additional service code barcode and attach the service descri...
generate-swiss-post-parcel-additional-service-code-barcode-in-code-128-format-with-human-readable-description.cs BarcodeGenerator Generate a Swiss Post Parcel additional service code barcode in Code 128 format with human...
generate-swiss-post-parcel-additional-service-code-barcode-with-embedded-qr-code-for-supplementary-data.cs QrParameters, BarcodeGenerator Generate a Swiss Post Parcel additional service code barcode with embedded QR code for sup...
generate-swiss-post-parcel-additional-service-code-barcodes-for-multiple-service-descriptions-and-save-as-svg-files.cs BarcodeGenerator Generate Swiss Post Parcel additional service code barcodes for multiple service descripti...
generate-swiss-post-parcel-domestic-barcode-using-18-digit-code-starting-with-98-and-output-tiff.cs BarcodeGenerator Generate a Swiss Post Parcel domestic barcode using an 18‑digit code starting with 98 and ...
generate-swiss-post-parcel-domestic-barcode-using-original-identifier-and-add-custom-margin-around-image.cs BarcodeGenerator Generate a Swiss Post Parcel domestic barcode using original identifier and add a custom m...
generate-swiss-post-parcel-domestic-barcode-using-original-identifier-string-and-save-as-png.cs BarcodeGenerator Generate a Swiss Post Parcel domestic barcode using original identifier string and save as...
generate-swiss-post-parcel-domestic-barcodes-for-list-of-18-digit-codes-writing-them-to-zip-archive.cs BarcodeGenerator Generate Swiss Post Parcel domestic barcodes for a list of 18‑digit codes, writing them to...
generate-swiss-post-parcel-international-barcode-with-automatic-checksum-correction-and-save-as-jpeg.cs BarcodeGenerator Generate a Swiss Post Parcel international barcode with automatic checksum correction and ...
generate-swiss-post-parcel-international-barcode-with-checksum-auto-correction-and-store-in-cloud-storage-bucket.cs BarcodeGenerator Generate a Swiss Post Parcel international barcode with checksum auto‑correction and store...
generate-swiss-post-parcel-international-barcodes-from-spreadsheet-and-include-checksum-verification-logs.cs BarcodeGenerator Generate Swiss Post Parcel international barcodes from a spreadsheet and include checksum ...
implement-asynchronous-barcode-decoding-for-large-image-collections-using-task-parallel-library.cs Implement asynchronous barcode decoding for large image collections using Task Parallel Li...
implement-asynchronous-barcode-generation-for-high-throughput-web-requests-using-async-await-pattern-efficiently.cs BarcodeGenerator Implement asynchronous barcode generation for high‑throughput web requests using async/awa...
implement-error-handling-for-invalid-xdimension-values-when-creating-postal-barcode.cs Implement error handling for invalid XDimension values when creating a postal barcode.
implement-fallback-logic-to-use-automatic-bar-height-when-barheight-property-is-set-to-zero.cs Implement fallback logic to use automatic bar height when BarHeight property is set to zer...
implement-function-that-converts-generated-barcode-image-to-base64-string-for-embedding-in-html.cs BarcodeGenerator Implement a function that converts a generated barcode image to a Base64 string for embedd...
implement-logging-of-barcode-decoding-attempts-successes-and-failures-with-timestamps-and-source-file-paths.cs Implement logging of barcode decoding attempts, successes, and failures with timestamps an...
implement-logging-of-barcode-generation-parameters-and-outcomes-to-structured-json-log-file.cs BarcodeGenerator Implement logging of barcode generation parameters and outcomes to a structured JSON log f...
implement-retry-mechanism-for-barcode-generation-when-encountering-temporary-file-system-errors.cs BarcodeGenerator Implement a retry mechanism for barcode generation when encountering temporary file system...
perform-batch-decoding-of-australia-post-barcodes-from-set-of-tiff-images-using-multi-threading.cs AustralianPostShortBarSectionsType Perform batch decoding of Australia Post barcodes from a set of TIFF images using multi‑th...
perform-batch-decoding-of-dutch-kix-barcodes-from-cloud-storage-container-and-log-failures.cs Perform batch decoding of Dutch KIX barcodes from a cloud storage container and log failur...
perform-batch-decoding-of-mailmark-barcodes-from-collection-of-base64-strings-and-aggregate-results.cs Perform batch decoding of Mailmark barcodes from a collection of base64 strings and aggreg...
perform-batch-decoding-of-onecode-barcodes-from-azure-blob-storage-and-write-outcomes-to-log-file.cs Perform batch decoding of OneCode barcodes from an Azure Blob storage and write outcomes t...
perform-batch-decoding-of-planet-barcodes-from-directory-of-png-files-and-generate-csv-report.cs BarcodeGenerator Perform batch decoding of Planet barcodes from a directory of PNG files and generate a CSV...
perform-batch-decoding-of-postnet-barcodes-from-list-of-image-streams-and-store-results-in-database.cs Perform batch decoding of Postnet barcodes from a list of image streams and store results ...
perform-batch-decoding-of-rm4scc-barcodes-from-compressed-zip-archive-and-output-json-summary.cs Perform batch decoding of RM4SCC barcodes from a compressed ZIP archive and output JSON su...
perform-batch-decoding-of-swiss-post-parcel-additional-service-code-barcodes-from-pdf-and-extract-human-readable-text.cs Perform batch decoding of Swiss Post Parcel additional service code barcodes from a PDF an...
perform-batch-decoding-of-swiss-post-parcel-domestic-barcodes-from-mixed-format-folder-and-generate-excel-report.cs BarcodeGenerator Perform batch decoding of Swiss Post Parcel domestic barcodes from a mixed‑format folder a...
perform-batch-decoding-of-swiss-post-parcel-international-barcodes-from-network-share-and-handle-checksum-mismatches.cs Perform batch decoding of Swiss Post Parcel international barcodes from a network share an...
retrieve-stored-barcode-blob-from-database-and-decode-it-to-verify-data-integrity.cs Retrieve a stored barcode BLOB from the database and decode it to verify data integrity.
set-xdimension-to-075-mm-for-planet-barcode-and-verify-resulting-module-width.cs Set XDimension to 0.75 mm for a Planet barcode and verify resulting module width.
use-barcode-generator-to-produce-dutch-kix-barcode-and-write-image-to-network-stream.cs BarcodeGenerator Use a barcode generator to produce a Dutch KIX barcode and write the image to a network st...
use-dependency-injection-to-provide-barcode-generator-and-reader-services-within-aspnet-core-application.cs BarcodeGenerator Use dependency injection to provide barcode generator and reader services within an ASP.NE...
validate-alphanumeric-input-for-4-state-barcode-generator-and-ensure-uppercase-conversion-before-encoding.cs BarcodeGenerator Validate alphanumeric input for a 4‑state barcode generator and ensure uppercase conversio...
validate-numeric-input-for-2-state-barcode-generator-and-raise-exception-for-non-numeric-characters.cs BarcodeGenerator Validate numeric input for a 2‑state barcode generator and raise an exception for non‑nume...
validate-that-generated-2-state-barcodes-contain-only-numeric-characters-by-inspecting-encoded-data.cs BarcodeGenerator Validate that generated 2‑state barcodes contain only numeric characters by inspecting the...
validate-that-generated-4-state-barcodes-correctly-encode-uppercase-letters-by-comparing-expected-bit-patterns.cs BarcodeGenerator Validate that generated 4‑state barcodes correctly encode uppercase letters by comparing e...
write-performance-benchmark-that-measures-decoding-speed-of-5-000-planet-barcodes-from-memory-streams.cs Write a performance benchmark that measures decoding speed of 5,000 Planet barcodes from m...
write-performance-benchmark-that-measures-time-to-generate-10-000-mailmark-barcodes-with-default-settings.cs BarcodeGenerator Write a performance benchmark that measures time to generate 10,000 Mailmark barcodes with...
write-unit-test-that-confirms-checksum-auto-correction-for-swiss-post-parcel-international-barcode.cs Unit Write a unit test that confirms checksum auto‑correction for Swiss Post Parcel internation...
write-unit-test-that-confirms-filledbars-false-results-in-empty-bar-shapes-while-preserving-dimensions.cs Unit Write a unit test that confirms FilledBars false results in empty bar shapes while preserv...
write-unit-test-that-ensures-barheight-property-overrides-automatic-height-calculation-without-affecting-module-width.cs Unit Write a unit test that ensures BarHeight property overrides automatic height calculation w...
write-unit-test-that-verifies-reed-solomon-error-correction-produces-correct-output-for-australia-post-barcode.cs AustralianPostShortBarSectionsType, Unit Write a unit test that verifies Reed‑Solomon error correction produces correct output for ...

Category Statistics

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

Key API Surface

  • BarcodeGenerator
  • EncodeTypes
  • BarCodeReader
  • DecodeType
  • AustralianPostShortBarSectionsType

Failed Tasks

All tasks passed ✅

Updated: 2026-07-03 | Examples: 90