agentleFS
Sign inSign up

agentic-net-examples / gs1-barcode-types

aspose-barcode/agentic-net-examples/gs1-barcode-types/agents.md

C# examples for GS1 Barcode Types using Aspose.BarCode for .NET

AGENTS.md4 starsChanged 22 days ago
---
name: gs1-barcode-types
description: C# examples for GS1 Barcode Types using Aspose.BarCode for .NET
language: csharp
framework: net10.0
parent: ../agents.md
---

# AGENTS - GS1 Barcode Types

## Persona

You are a C# developer specializing in barcode generation and recognition using Aspose.BarCode for .NET,
working within the **GS1 Barcode Types** category.
This folder contains standalone C# examples for GS1 Barcode Types operations.
See the root [agents.md](../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 |
|------|----------|-------------|
| [apply-10-pixel-margin-around-gs1-code-128-barcode-and-save-as-jpeg.cs](./apply-10-pixel-margin-around-gs1-code-128-barcode-and-save-as-jpeg.cs) |  | Apply a 10‑pixel margin around a GS1 Code 128 barcode and save as JPEG. |
| [batch-convert-list-of-ai-strings-to-gs1-datamatrix-png-files-using-parallel-processing.cs](./batch-convert-list-of-ai-strings-to-gs1-datamatrix-png-files-using-parallel-processing.cs) | `DataMatrixParameters` | Batch convert a list of AI strings to GS1 DataMatrix PNG files using parallel processing. |
| [batch-generate-gs1-code-128-barcodes-compress-png-outputs-into-single-zip-archive-for-distribution.cs](./batch-generate-gs1-code-128-barcodes-compress-png-outputs-into-single-zip-archive-for-distribution.cs) | `BarcodeGenerator` | Batch generate GS1 Code 128 barcodes, compress PNG outputs into a single ZIP archive for d... |
| [batch-generate-gs1-code-128-barcodes-from-csv-list-of-ai-strings-and-output-png-files.cs](./batch-generate-gs1-code-128-barcodes-from-csv-list-of-ai-strings-and-output-png-files.cs) | `BarcodeGenerator` | Batch generate GS1 Code 128 barcodes from a CSV list of AI strings and output PNG files. |
| [batch-generate-gs1-code-128-barcodes-from-database-table-saving-each-image-to-network-share.cs](./batch-generate-gs1-code-128-barcodes-from-database-table-saving-each-image-to-network-share.cs) | `BarcodeGenerator` | Batch generate GS1 Code 128 barcodes from a database table, saving each image to a network... |
| [batch-process-folder-of-ai-strings-generating-gs1-datamatrix-barcodes-and-storing-them-in-zip-archive.cs](./batch-process-folder-of-ai-strings-generating-gs1-datamatrix-barcodes-and-storing-them-in-zip-archive.cs) | `DataMatrixParameters`, `BarcodeGenerator` | Batch process a folder of AI strings, generating GS1 DataMatrix barcodes and storing them ... |
| [configure-barcode-generator-for-high-resolution-300-dpi-and-produce-tiff-images-for-printing.cs](./configure-barcode-generator-for-high-resolution-300-dpi-and-produce-tiff-images-for-printing.cs) | `BarcodeGenerator` | Configure the barcode generator for high resolution (300 DPI) and produce TIFF images for ... |
| [configure-barcode-generator-to-disable-quiet-zone-generate-gs1-datamatrix-and-save-as-png.cs](./configure-barcode-generator-to-disable-quiet-zone-generate-gs1-datamatrix-and-save-as-png.cs) | `DataMatrixParameters`, `BarcodeGenerator` | Configure the barcode generator to disable the quiet zone, generate a GS1 DataMatrix, and ... |
| [create-gs1-code-128-barcode-apply-custom-font-for-human-readable-text-and-save-as-png.cs](./create-gs1-code-128-barcode-apply-custom-font-for-human-readable-text-and-save-as-png.cs) | `FontUnit` | Create a GS1 Code 128 barcode, apply a custom font for human‑readable text, and save as PN... |
| [create-gs1-code-128-barcode-rotate-image-90-degrees-clockwise-and-store-as-bmp.cs](./create-gs1-code-128-barcode-rotate-image-90-degrees-clockwise-and-store-as-bmp.cs) |  | Create a GS1 Code 128 barcode, rotate the image 90 degrees clockwise, and store as BMP. |
| [create-gs1-datamatrix-barcode-apply-grayscale-filter-and-save-result-as-tiff-image.cs](./create-gs1-datamatrix-barcode-apply-grayscale-filter-and-save-result-as-tiff-image.cs) | `DataMatrixParameters` | Create a GS1 DataMatrix barcode, apply a grayscale filter, and save the result as a TIFF i... |
| [create-gs1-datamatrix-barcode-set-background-transparency-and-export-as-png-with-alpha-channel.cs](./create-gs1-datamatrix-barcode-set-background-transparency-and-export-as-png-with-alpha-channel.cs) | `DataMatrixParameters` | Create a GS1 DataMatrix barcode, set background transparency, and export as PNG with an al... |
| [create-gs1-datamatrix-barcode-specify-square-shape-and-export-as-high-resolution-tiff-for-printing.cs](./create-gs1-datamatrix-barcode-specify-square-shape-and-export-as-high-resolution-tiff-for-printing.cs) | `DataMatrixParameters` | Create a GS1 DataMatrix barcode, specify square shape, and export as high‑resolution TIFF ... |
| [create-gs1-datamatrix-barcode-specify-utf-8-encoding-mode-and-export-to-jpeg-with-quality-90.cs](./create-gs1-datamatrix-barcode-specify-utf-8-encoding-mode-and-export-to-jpeg-with-quality-90.cs) | `DataMatrixParameters` | Create a GS1 DataMatrix barcode, specify UTF‑8 encoding mode, and export to JPEG with qual... |
| [create-gs1-datamatrix-barcode-using-multiple-application-identifiers-and-export-to-jpeg-format.cs](./create-gs1-datamatrix-barcode-using-multiple-application-identifiers-and-export-to-jpeg-format.cs) | `GS1CodeTextBuilder`, `DataMatrixParameters` | Create a GS1 DataMatrix barcode using multiple Application Identifiers and export to a JPE... |
| [create-upc-barcode-with-databar-coupon-then-overlay-qr-code-using-graphics-library.cs](./create-upc-barcode-with-databar-coupon-then-overlay-qr-code-using-graphics-library.cs) | `QrParameters` | Create a UPC‑A barcode with a DataBar coupon, then overlay a QR code using a graphics libr... |
| [generate-gs1-code-128-barcode-embed-custom-human-readable-text-below-and-save-as-jpeg.cs](./generate-gs1-code-128-barcode-embed-custom-human-readable-text-below-and-save-as-jpeg.cs) | `BarcodeGenerator` | Generate a GS1 Code 128 barcode, embed custom human‑readable text below, and save as JPEG. |
| [generate-gs1-code-128-barcode-embed-it-in-pdf-document-and-save-pdf.cs](./generate-gs1-code-128-barcode-embed-it-in-pdf-document-and-save-pdf.cs) | `BarcodeGenerator` | Generate a GS1 Code 128 barcode, embed it in a PDF document, and save the PDF. |
| [generate-gs1-code-128-barcode-with-ai-data-and-save-as-png-image-file.cs](./generate-gs1-code-128-barcode-with-ai-data-and-save-as-png-image-file.cs) | `BarcodeGenerator` | Generate a GS1 Code 128 barcode with AI data and save as a PNG image file. |
| [generate-gs1-datamatrix-barcode-retrieve-its-byte-array-and-send-it-via-http-response.cs](./generate-gs1-datamatrix-barcode-retrieve-its-byte-array-and-send-it-via-http-response.cs) | `DataMatrixParameters`, `BarcodeGenerator` | Generate a GS1 DataMatrix barcode, retrieve its byte array, and send it via HTTP response. |
| [generate-gs1-datamatrix-barcode-set-module-size-to-5-pixels-and-export-as-bmp.cs](./generate-gs1-datamatrix-barcode-set-module-size-to-5-pixels-and-export-as-bmp.cs) | `DataMatrixParameters`, `BarcodeGenerator` | Generate a GS1 DataMatrix barcode, set module size to 5 pixels, and export as BMP. |
| [generate-gs1-datamatrix-barcode-with-error-correction-level-200-and-export-as-png.cs](./generate-gs1-datamatrix-barcode-with-error-correction-level-200-and-export-as-png.cs) | `DataMatrixParameters`, `BarcodeGenerator` | Generate a GS1 DataMatrix barcode with error correction level 200 and export as PNG. |
| [generate-upc-barcode-with-code128-coupon-retrieve-image-as-byte-array-and-attach-to-email.cs](./generate-upc-barcode-with-code128-coupon-retrieve-image-as-byte-array-and-attach-to-email.cs) | `BarcodeGenerator` | Generate a UPC‑A barcode with a Code128 coupon, retrieve image as byte array, and attach t... |
| [generate-upc-barcode-with-code128-coupon-set-supplement-space-to-40-pixels-and-save-as-png.cs](./generate-upc-barcode-with-code128-coupon-set-supplement-space-to-40-pixels-and-save-as-png.cs) | `BarcodeGenerator` | Generate a UPC‑A barcode with a Code128 coupon, set supplement space to 40 pixels, and sav... |
| [generate-upc-barcode-with-databar-coupon-then-combine-it-with-logo-using-systemdrawing-graphics.cs](./generate-upc-barcode-with-databar-coupon-then-combine-it-with-logo-using-systemdrawing-graphics.cs) | `BarcodeGenerator` | Generate a UPC‑A barcode with a DataBar coupon, then combine it with a logo using System.D... |
| [generate-upc-barcode-with-databar-expanded-coupon-and-adjust-supplement-spacing-to-50-pixels.cs](./generate-upc-barcode-with-databar-expanded-coupon-and-adjust-supplement-spacing-to-50-pixels.cs) | `BarcodeGenerator` | Generate a UPC‑A barcode with a DataBar Expanded coupon and adjust supplement spacing to 5... |
| [produce-gs1-code-128-barcode-apply-anti-aliasing-and-save-image-with-24-bit-color-depth.cs](./produce-gs1-code-128-barcode-apply-anti-aliasing-and-save-image-with-24-bit-color-depth.cs) |  | Produce a GS1 Code 128 barcode, apply anti‑aliasing, and save the image with 24‑bit color ... |
| [produce-gs1-code-128-barcode-write-image-bytes-to-memorystream-and-return-as-api-response.cs](./produce-gs1-code-128-barcode-write-image-bytes-to-memorystream-and-return-as-api-response.cs) |  | Produce a GS1 Code 128 barcode, write image bytes to a MemoryStream, and return as an API ... |
| [produce-upc-barcode-with-databar-coupon-then-programmatically-merge-it-with-product-label-image.cs](./produce-upc-barcode-with-databar-coupon-then-programmatically-merge-it-with-product-label-image.cs) |  | Produce a UPC‑A barcode with a DataBar coupon, then programmatically merge it with a produ... |
| [produce-upc-barcode-with-embedded-gs1-code128-coupon-and-define-30-pixel-supplement-space.cs](./produce-upc-barcode-with-embedded-gs1-code128-coupon-and-define-30-pixel-supplement-space.cs) |  | Produce a UPC‑A barcode with an embedded GS1 Code128 coupon and define 30‑pixel supplement... |
| [produce-upc-barcode-with-gs1-code128-coupon-then-embed-image-into-html-page.cs](./produce-upc-barcode-with-gs1-code128-coupon-then-embed-image-into-html-page.cs) |  | Produce a UPC‑A barcode with a GS1 Code128 coupon, then embed the image into an HTML page. |
| [render-gs1-code-128-barcode-retrieve-image-bytes-and-store-them-in-database-column.cs](./render-gs1-code-128-barcode-retrieve-image-bytes-and-store-them-in-database-column.cs) |  | Render a GS1 Code 128 barcode, retrieve image bytes, and store them in a database column. |
| [set-barcode-size-to-200-100-pixels-for-gs1-code-128-barcode-and-export-as-jpeg.cs](./set-barcode-size-to-200-100-pixels-for-gs1-code-128-barcode-and-export-as-jpeg.cs) |  | Set barcode size to 200 × 100 pixels for a GS1 Code 128 barcode and export as JPEG. |
| [set-foreground-color-to-blue-and-background-color-to-white-for-gs1-datamatrix-barcode.cs](./set-foreground-color-to-blue-and-background-color-to-white-for-gs1-datamatrix-barcode.cs) | `DataMatrixParameters`, `BarcodeColorParameters` | Set foreground color to blue and background color to white for a GS1 DataMatrix barcode. |

## Category Statistics
- Total examples: 34
- Failed: 0
- Pass rate: 100.0%

## Key API Surface

- `BarcodeGenerator`
- `EncodeTypes`
- `GS1CodeTextBuilder`
- `GS1CompositeBarParameters`
- `TwoDComponentType`

## Failed Tasks

All tasks passed ✅

<!-- AUTOGENERATED:START -->
Updated: 2026-08-13 | Examples: 34
<!-- AUTOGENERATED:END -->

Discussion

Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.

Posts are public.Sign in to post

No one has posted yet. Be the first.