[]
Specifies options affecting the size of a barcode, such as the width of narrow bars, narrow to wide bars' ratio etc.
public class BarcodeSizeOptions : BarCodeOptionsBase
public BarcodeSizeOptions()
Gets or sets the bar height. The default is 36 units.
public float BarHeight { get; set; }
Gets or sets the barcode module size in graphic units (see Resolution).
Zero indicates the default which depends on the code type:
public float ModuleSize { get; set; }
Gets 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 float NarrowWideRatio { get; set; }
Gets or sets the barcode sizing mode. The default is Normal.
public BarcodeSizeMode SizeMode { get; set; }
Gets or sets the spacing between the main and the supplement bacodes in graphic units. The default is 7.5 units.
public float SupplementSpacing { get; set; }
Copies properties from another BarCodeOptionsBase to the current object.
public override void AssignFrom(BarCodeOptionsBase source)
source
BarCodeOptionsBaseThe source object to copy properties from.
Makes a copy of the current object.
public override object Clone()
Compares this BarcodeSizeOptions to the specified object to determine whether the two objects specify the same options.
public override bool Equals(object obj)
obj
objectThe object to which the current BarcodeSizeOptions is compared.
True if the two objects specify the same options, false otherwise.
Calculates and retrieves a hash code based on the current values of the specified options.
public override int GetHashCode()
A hash code for the current object.
Returns a string representation of the current object.
public override string ToString()