Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section

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

Anchor
M:Intersoft.Crosslight.Services.Barcode.IWriter.Encode(System.String,Intersoft.Crosslight.Services.Barcode.BarcodeFormat,System.Int32,System.Int32)
M:Intersoft.Crosslight.Services.Barcode.IWriter.Encode(System.String,Intersoft.Crosslight.Services.Barcode.BarcodeFormat,System.Int32,System.Int32)

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

Encode a barcode using the default settings.

Parameters

contentsThe contents to encode in the barcode
formatThe barcode format to generate
widthThe preferred width in pixels
heightThe preferred height in pixels

Return Types

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

Anchor
M:Intersoft.Crosslight.Services.Barcode.IWriter.Encode(System.String,Intersoft.Crosslight.Services.Barcode.BarcodeFormat,System.Int32,System.Int32,System.Collections.Generic.IDictionary{Intersoft.Crosslight.Services.Barcode.EncodeHintType,System.Object})
M:Intersoft.Crosslight.Services.Barcode.IWriter.Encode(System.String,Intersoft.Crosslight.Services.Barcode.BarcodeFormat,System.Int32,System.Int32,System.Collections.Generic.IDictionary{Intersoft.Crosslight.Services.Barcode.EncodeHintType,System.Object})

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

Encode a barcode using hints.

Parameters

contentsThe contents to encode in the barcode
formatThe barcode format to generate
widthThe preferred width in pixels
heightThe preferred height in pixels
hintsAdditional parameters to supply to the encoder

Return Types

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