'Declaration Public Property AutoSize As Boolean
'Usage Dim instance As WriterBase Dim value As Boolean instance.AutoSize = value value = instance.AutoSize
public bool AutoSize {get; set;}
'Declaration Public Property AutoSize As Boolean
'Usage Dim instance As WriterBase Dim value As Boolean instance.AutoSize = value value = instance.AutoSize
public bool AutoSize {get; set;}
The default value is true.
When this property is set to true, the component will calculate the required height and width of the output image during barcode creation.
The image height and width are calculated using the barcode value, minimum bar width, horizontal gaps, vertical gaps and the size of the text font. If the calculated height or width is greater than the user input height and width, the image size will be increased to create the barcode.
When this property is set to false, the component will use the Height and Width parameters.