[]
        
(Showing Draft Content)

C1.C1Preview.BarcodeSizeOptions

BarcodeSizeOptions Class

Specifies the options affecting the size of a barcode, such as the width of narrow bars, narrow to wide bars' ratio etc.

Inheritance
BarcodeSizeOptions
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class BarcodeSizeOptions : BarCodeOptionsBase

Constructors

Name Description
BarcodeSizeOptions()

Initializes a new instance of the BarcodeSizeOptions class.

Properties

Name Description
BarHeight

Gets or sets the bar height in twips.

ModuleSize

Gets or sets the barcode module size in twips.

Zero means the default value which is different for different barcode types:

  • 15 twips for simple "bar" barcodes.
  • 75 twips for matrix barcodes (QRCode, DataMatrix).
  • 45 twips for RSS stacked barcodes (RSSStacked, RSSExpandedStacked).
  • 45 twips for composite barcodes.
NarrowWideRatio

Gets or sets the ratio between narrow and wide bars.

SizeMode

Gets or sets the barcode sizing mode.

SupplementSpacing

Gets or sets the spacing between the main and the supplement bacodes in twips.

Methods

Name Description
AssignFrom(BarCodeOptionsBase)

Assigns (copies) properties from another C1.BarCode.BarCodeOptionsBase to the current object.

Clone()

Makes a copy of the current object.

Equals(object)

Compares this BarcodeSizeOptions to the specified object to determine whether the two are equal.

GetHashCode()

Calculates and retrieves a hash code based on the current values of specified options.

ToString()