CodetextParametersUI
Inheritance: java.lang.Object
public class CodetextParametersUI
UI wrapper for com.aspose.barcode.generation.CodetextParameters class.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAlignment() | Gets the alignment of the code text. |
getClass() | |
getColor() | Specify the displaying CodeText’s Color. |
getFont() | Specify the displaying CodeText’s font. |
getFontMode() | Specify FontMode. |
getLocation() | Specify the displaying CodeText Location, set to CodeLocation.None to hide CodeText. |
getSpace() | Space between the CodeText and the BarCode in value. |
getTwoDDisplayText() | Text that will be displayed instead of codetext in 2D barcodes. |
hashCode() | |
notify() | |
notifyAll() | |
setAlignment(TextAlignment value) | Sets the alignment of the code text. |
setColor(Color value) | Specify the displaying CodeText’s Color. |
setFont(Font value) | Specify the displaying CodeText’s font. |
setFontMode(FontMode value) | Specify FontMode. |
setLocation(CodeLocation value) | Specify the displaying CodeText Location, set to CodeLocation.None to hide CodeText. |
setTwoDDisplayText(String value) | Text that will be displayed instead of codetext in 2D barcodes. |
toString() | Returns a human-readable string representation of this CodetextParameters . |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAlignment()
public TextAlignment getAlignment()
Gets the alignment of the code text. Default value: StringAlignment.Center.
Returns: TextAlignment
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public Color getColor()
Specify the displaying CodeText’s Color. Default value: Color.BLACK.
Returns: java.awt.Color
getFont()
public Font getFont()
Specify the displaying CodeText’s font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
Returns: java.awt.Font
getFontMode()
public FontMode getFontMode()
Specify FontMode. If FontMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontMode.AUTO especially in AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. Default value: FontMode.AUTO.
Returns: FontMode
getLocation()
public CodeLocation getLocation()
Specify the displaying CodeText Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.BELOW for 1D barcodes and CodeLocation.None for 2D barcodes.
Returns: CodeLocation
getSpace()
public Unit getSpace()
Space between the CodeText and the BarCode in value. Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
Returns: Unit
getTwoDDisplayText()
public String getTwoDDisplayText()
Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAlignment(TextAlignment value)
public void setAlignment(TextAlignment value)
Sets the alignment of the code text. Default value: StringAlignment.Center.
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextAlignment |
setColor(Color value)
public void setColor(Color value)
Specify the displaying CodeText’s Color. Default value: Color.BLACK.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color |
setFont(Font value)
public void setFont(Font value)
Specify the displaying CodeText’s font. Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Font |
setFontMode(FontMode value)
public void setFontMode(FontMode value)
Specify FontMode. If FontMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontMode.AUTO especially in AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. Default value: FontMode.AUTO.
Parameters:
Parameter | Type | Description |
---|---|---|
value | FontMode |
setLocation(CodeLocation value)
public void setLocation(CodeLocation value)
Specify the displaying CodeText Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.BELOW for 1D barcodes and CodeLocation.None for 2D barcodes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CodeLocation |
setTwoDDisplayText(String value)
public void setTwoDDisplayText(String value)
Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
toString()
public String toString()
Returns a human-readable string representation of this CodetextParameters .
Returns: java.lang.String - A string that represents this CodetextParameters .
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |