Documents for PDF .NET Edition
GrapeCity.Documents.Barcode Assembly / GrapeCity.Documents.Barcode Namespace / BarcodeSizeOptions Class / ModuleSize Property

In This Topic
    ModuleSize Property (BarcodeSizeOptions)
    In This Topic
    Gets or sets the barcode module size in graphic units (see GrapeCity.Documents.Drawing.GcGraphics.Resolution).

    Zero indicates the default which depends on the code type:

    • 0.75 units for simple "bar" barcodes.
    • 3.75 units for matrix barcodes (QRCode, DataMatrix).
    • 3 units for RSS stacked barcodes (RSSStacked, RSSExpandedStacked).
    • 2.25 units for Code49 barcodes.
    • 1.5 units for MicroPDF417 barcodes.
    • 2.25 units for composite barcodes.
    Syntax
    'Declaration
     
    Public Property ModuleSize As System.Single
    public System.float ModuleSize {get; set;}
    See Also