Skip to end of metadata
Go to start of metadata

The base class for all objects which encode/generate a barcode image.

Definition

public interface IWriter

Summary

The following table summarizes the members exposed in this interface.

Methods

Encode(string, BarcodeFormat, int, int) Encode a barcode using the default settings.
Encode(string, BarcodeFormat, int, int, IDictionary<EncodeHintType, object>) Encode a barcode using hints.

Methods

BitMatrix Encode(string contents, BarcodeFormat format, int width, int height)

Encode a barcode using the default settings.

Parameters

contents The contents to encode in the barcode
format The barcode format to generate
width The preferred width in pixels
height The preferred height in pixels

Return Types

The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)

BitMatrix Encode(string contents, BarcodeFormat format, int width, int height, IDictionary<EncodeHintType, object> hints)

Encode a barcode using hints.

Parameters

contents The contents to encode in the barcode
format The barcode format to generate
width The preferred width in pixels
height The preferred height in pixels
hints Additional parameters to supply to the encoder

Return Types

The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white)
  • No labels