ImageGear for .NET
AutoSize Property
See Also  Send Feedback
ImageGear21.Barcode Assembly > ImageGear.Barcode Namespace > ImGearBarcodeWriterBase Class : AutoSize Property




Glossary Item Box

Gets or sets a value indicating whether the barcode area is automatically sized during barcode creation.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

A boolean value which is true if the barcode area is automatically sized. Otherwise, false is returned.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.