set_textColor()
Sets the colour of the text associated with the widget.
Example-Barcode Set Text Colour
tpc.forms[0].TpcBarcode.set_textColor("rgb(255,0,0)");
set_textFont()
Sets the font of the text associated with the widget.
Example-Barcode Set Text Font
tpc.forms[0].TpcBarcode.set_textFont("Helvetica");
set_textMarginBottom()
Sets the margin of the text associated with the widget.
Example-Barcode Set Bottom Text Margin
tpc.forms[0].TpcBarcode.set_textMarginBottom(25);
set_textMarginLeft()
Sets the left-side margin of the text associated with the widget.
Example-Barcode Set Left Text Margin
tpc.forms[0].TpcBarcode.set_textMarginLeft(25);
set_textMarginRight()
Sets the right-side margin of the text associated with the widget.
Example-Barcode Set Right Text Margin
tpc.forms[0].TpcBarcode.set_textMarginRight(25);
set_textMarginTop()
Sets the top margin of the text associated with the widget.
Example-Barcode Set Text Top Margin
tpc.forms[0].TpcBarcode.set_textMarginTop(25);
showText()
Shows or hides the text associated with the widget. The default value for this is 'true'.
Example-Barcode Show and Hide Text
tpc.forms[0].TpcBarcode.showText(true);
tpc.forms[0].TpcBarcode.showText(false);