| title | AutoSizeMode |
|---|---|
| second_title | Aspose.BarCode for Android via Java API Reference |
| description | Specifies the different types of automatic sizing modes. |
| type | docs |
| weight | 67 |
| url | /androidjava/com.aspose.barcode.generation/autosizemode/ |
Inheritance: java.lang.Object, java.lang.Enum
public enum AutoSizeMode extends Enum<AutoSizeMode>
Specifies the different types of automatic sizing modes.
| Field | Description |
|---|---|
| INTERPOLATION | Resizes barcode to specified size. |
| NEAREST | Resizes barcode to nearest lowest possible size specified by ImageWidth and ImageHeight properties. |
| NONE | Automatic resizing is disabled. |
public static final AutoSizeMode INTERPOLATION
Resizes barcode to specified size. Size can be specified by ImageWidth and ImageHeight properties. Generated barcode may be invalid (not readable) after scaling.
public static final AutoSizeMode NEAREST
Resizes barcode to nearest lowest possible size specified by ImageWidth and ImageHeight properties. Preserves default aspect ratio.
public static final AutoSizeMode NONE
Automatic resizing is disabled.
public static T <T>valueOf(Class<T> arg0, String arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Class | |
| arg1 | java.lang.String |
Returns: T
public final int compareTo(E arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | E |
Returns: int
public final boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
public final native Class<?> getClass()
Returns: java.lang.Class<?>
public final Class<E> getDeclaringClass()
Returns: java.lang.Class
public int getValue()
Returns: int
public final int hashCode()
Returns: int
public final String name()
Returns: java.lang.String
public final native void notify()
public final native void notifyAll()
public final int ordinal()
Returns: int
public String toString()
Returns: java.lang.String
public static AutoSizeMode valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: AutoSizeMode
public static AutoSizeMode[] values()
Returns: com.aspose.barcode.generation.AutoSizeMode[]
public final void wait()
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |