ImageGear for .NET
AutoSize Property (ImGearBarcodeWriterBase)




Gets or sets a value indicating whether the barcode area is automatically sized during barcode creation.
Syntax
'Declaration
 
Public Property AutoSize As Boolean
'Usage
 
Dim instance As ImGearBarcodeWriterBase
Dim value As Boolean
 
instance.AutoSize = value
 
value = instance.AutoSize
public bool AutoSize {get; set;}
public: __property bool get_AutoSize();
public: __property void set_AutoSize( 
   bool value
);
public:
property bool AutoSize {
   bool get();
   void set (    bool value);
}

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

Reference

ImGearBarcodeWriterBase Class
ImGearBarcodeWriterBase Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback