Query_Lang-PCBFunctions_Fields_BarCodeRenderModeBarCodeRenderMode_AD
Created: September 07, 2015 | Updated: August 11, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.1. For the latest, read: Query_Lang-PCBFunctions_Fields_BarCodeRenderMode((BarCodeRenderMode))_AD for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns all text string objects whose BarCode Render Mode property complies with the Query.
Syntax
BarCodeRenderMode = RenderMode_String
BarCodeRenderMode <> RenderMode_String
RenderMode_String must be one of the strings from the following list:
- 'By BarCode Full Width'
- 'By BarCode Min Width'
Example Usage
BarCodeRenderMode = 'By BarCode Full Width'
Returns all text string objects whose BarCode Render Mode property is By BarCode Full Width.
BarCodeRenderMode <> 'By BarCode Min Width'
Returns all objects except text string objects whose BarCode Render Mode property is By BarCode Min Width.
Tips
- The single quote characters (') at the start and end of RenderMode_String are mandatory.
- The BarCode Render Mode property is only defined for text string objects.
- Use of this keyword will also return the text string child primitive objects of group design objects (component, coordinate, dimension, drill table, and layer stack table objects), whose BarCode Render Mode property complies with the Query. Should you wish to target solely text string objects that have been configured as barcode text, use an additional keyword prefix to target those objects. An example query expression would be IsBarCodeText And (BarCodeRenderMode = 'By BarCode Full Width').