Back to Devexpress

DataMatrixGenerator.MatrixSize Property

corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-datamatrixgenerator-d5faf56d.md

latest4.5 KB
Original Source

DataMatrixGenerator.MatrixSize Property

Gets or sets the bar code matrix size.

Namespace : DevExpress.XtraPrinting.BarCode

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(DataMatrixSize.MatrixAuto)]
public DataMatrixSize MatrixSize { get; set; }
vb
<DefaultValue(DataMatrixSize.MatrixAuto)>
Public Property MatrixSize As DataMatrixSize

Property Value

TypeDefaultDescription
DataMatrixSizeMatrixAuto

A DataMatrixSize enumeration value.

|

Available values:

Show 31 items

NameDescription
MatrixAuto

The bar code matrix size is auto-adjusted, depending on the quantity of encoded data.

| | Matrix10x10 |

The bar code matrix size is 10 x 10.

| | Matrix12x12 |

The bar code matrix size is 12 x 12.

| | Matrix14x14 |

The bar code matrix size is 14 x 14.

| | Matrix16x16 |

The bar code matrix size is 16 x 16.

| | Matrix18x18 |

The bar code matrix size is 18 x 18.

| | Matrix20x20 |

The bar code matrix size is 20 x 20.

| | Matrix22x22 |

The bar code matrix size is 22 x 22.

| | Matrix24x24 |

The bar code matrix size is 24 x 24.

| | Matrix26x26 |

The bar code matrix size is 26 x 26.

| | Matrix32x32 |

The bar code matrix size is 32 x 32.

| | Matrix36x36 |

The bar code matrix size is 36 x 36.

| | Matrix40x40 |

The bar code matrix size is 40 x 40.

| | Matrix44x44 |

The bar code matrix size is 44 x 44.

| | Matrix48x48 |

The bar code matrix size is 48 x 48.

| | Matrix52x52 |

The bar code matrix size is 52 x 52.

| | Matrix64x64 |

The bar code matrix size is 64 x 64.

| | Matrix72x72 |

The bar code matrix size is 72 x 72.

| | Matrix80x80 |

The bar code matrix size is 80 x 80.

| | Matrix88x88 |

The bar code matrix size is 88 x 88.

| | Matrix96x96 |

The bar code matrix size is 96 x 96.

| | Matrix104x104 |

The bar code matrix size is 104 x 104.

| | Matrix120x120 |

The bar code matrix size is 120 x 120.

| | Matrix132x132 |

The bar code matrix size is 132 x 132.

| | Matrix144x144 |

The bar code matrix size is 144 x 144.

| | Matrix8x18 |

The bar code matrix size is 8 x 18.

| | Matrix8x32 |

The bar code matrix size is 8 x 32.

| | Matrix12x26 |

The bar code matrix size is 12 x 26.

| | Matrix12x36 |

The bar code matrix size is 12 x 36.

| | Matrix16x36 |

The bar code matrix size is 16 x 36.

| | Matrix16x48 |

The bar code matrix size is 16 x 48.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MatrixSize property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-add-a-bar-code-to-a-report/CS/Form1.cs#L282

csharp
((DataMatrixGenerator)barCode.Symbology).CompactionMode = DataMatrixCompactionMode.Text;
((DataMatrixGenerator)barCode.Symbology).MatrixSize = DataMatrixSize.MatrixAuto;

See Also

ECC200 - Data Matrix

DataMatrixGenerator Class

DataMatrixGenerator Members

DevExpress.XtraPrinting.BarCode Namespace