Accusoft.BarcodeXpress12.Net
AutoSize Property




Gets and sets a flag indicating if the barcode area is automatically sized during barcode creation.
Syntax
'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;}
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

WriterBase Class
WriterBase Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback