![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Codetext parameters. More...
Inherits BaseJavaClass.
Public Member Functions | |
def | __init__ (self, javaClass) |
def | init (self) |
def | getTwoDDisplayText (self) |
Text that will be displayed instead of codetext in 2D barcodes. More... | |
def | setTwoDDisplayText (self, value) |
Text that will be displayed instead of codetext in 2D barcodes. More... | |
def | getFontMode (self) |
Specify FontMode. More... | |
def | setFontMode (self, value) |
Specify FontMode. More... | |
def | getFont (self) |
Specify the displaying CodeText's font. More... | |
def | setFont (self, value) |
Specify the displaying CodeText's font. More... | |
def | getSpace (self) |
Space between the CodeText and the BarCode in Unit value. More... | |
def | setSpace (self, value) |
Space between the CodeText and the BarCode in Unit value. More... | |
def | getAlignment (self) |
Gets or sets the alignment of the code text. More... | |
def | setAlignment (self, value) |
Gets or sets the alignment of the code text. More... | |
def | getColor (self) |
Specify the displaying CodeText's Color, representation of an RGB tuple. More... | |
def | setColor (self, value) |
Specify the displaying CodeText's Color, representation of an RGB tuple. More... | |
def | getLocation (self) |
Specify the displaying CodeText Location, set to CodeLocation.NONE to hide CodeText. More... | |
def | setLocation (self, value) |
Specify the displaying CodeText Location, set to CodeLocation.NONE to hide CodeText. More... | |
def | getNoWrap (self) |
def | setNoWrap (self, value) |
Specify word wraps (line breaks) within text. More... | |
def | toString (self) |
![]() | |
def | getJavaClass (self) |
def | setJavaClass (self, javaClass) |
def | getJavaClassName (self) |
def | isNull (self) |
def | printJavaClassName (self) |
Public Attributes | |
font | |
space | |
![]() | |
javaClass | |
javaClassName | |
Codetext parameters.
def __init__ | ( | self, | |
javaClass | |||
) |
Reimplemented from BaseJavaClass.
def getAlignment | ( | self | ) |
Gets or sets the alignment of the code text.
Default value: TextAlignment.CENTER.
def getColor | ( | self | ) |
Specify the displaying CodeText's Color, representation of an RGB tuple.
Default value (0,0,0).
def getFont | ( | self | ) |
Specify the displaying CodeText's font.
Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
def getFontMode | ( | self | ) |
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.
def getLocation | ( | self | ) |
Specify the displaying CodeText Location, set to CodeLocation.NONE to hide CodeText.
Default value: CodeLocation.NONE.
def getNoWrap | ( | self | ) |
Specify word wraps (line breaks) within text.
def getSpace | ( | self | ) |
Space between the CodeText and the BarCode in Unit value.
Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
def getTwoDDisplayText | ( | self | ) |
Text that will be displayed instead of codetext in 2D barcodes.
Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
def setAlignment | ( | self, | |
value | |||
) |
Gets or sets the alignment of the code text.
Default value: TextAlignment.CENTER.
def setColor | ( | self, | |
value | |||
) |
Specify the displaying CodeText's Color, representation of an RGB tuple.
Default value (0,0,0).
def setFont | ( | self, | |
value | |||
) |
Specify the displaying CodeText's font.
Default value: Arial 5pt regular. Ignored if FontMode is set to FontMode.AUTO.
def setFontMode | ( | self, | |
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.
def setLocation | ( | self, | |
value | |||
) |
Specify the displaying CodeText Location, set to CodeLocation.NONE to hide CodeText.
Default value: CodeLocation.NONE.
def setNoWrap | ( | self, | |
value | |||
) |
Specify word wraps (line breaks) within text.
def setSpace | ( | self, | |
value | |||
) |
Space between the CodeText and the BarCode in Unit value.
Default value: 2pt. Ignored for EAN8, EAN13, UPCE, UPCA, ISBN, ISMN, ISSN, UpcaGs1DatabarCoupon.
def setTwoDDisplayText | ( | self, | |
value | |||
) |
Text that will be displayed instead of codetext in 2D barcodes.
Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode
def toString | ( | self | ) |
Returns a human-readable string representation of this CodetextParameters.
font |
space |