Documents for PDF .NET Edition
GrapeCity.Documents.Barcode Assembly / GrapeCity.Documents.Barcode Namespace / BarcodeSizeOptions Class
Properties Methods

In This Topic
    BarcodeSizeOptions Class Members
    In This Topic

    The following tables list the members exposed by BarcodeSizeOptions.

    Public Constructors
    Public Constructor  
    Public Properties
    Public PropertyGets or sets the bar height. The default is 36 units.  
    Public PropertyGets 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.
    Public PropertyGets or sets the ratio between narrow and wide bars. Allowed values are between 2 and 3, or 0 to use code type specific ratio. The default is 2.  
    Public PropertyGets or sets the barcode sizing mode. The default is BarcodeSizeMode.Normal.  
    Public PropertyGets or sets the spacing between the main and the supplement bacodes in graphic units. The default is 7.5 units.  
    Public Methods
    Public MethodOverridden. Copies properties from another BarCodeOptionsBase to the current object.  
    Public MethodOverridden. Makes a copy of the current object.  
    Public MethodOverridden. Compares this BarcodeSizeOptions to the specified object to determine whether the two objects specify the same options.  
    Public MethodOverridden. Calculates and retrieves a hash code based on the current values of the specified options.  
    Public MethodReturns a string representation of the current object.  
    See Also